linux 查看当前文件夹下文件占用内存

linux 查看当前文件夹下文件占用内存

此命令可查看文件内存也可以查看文件夹内存

root@linaro-developer:/usr# du -sh ./*
50M     ./bin
4.0K    ./games
19M     ./include
337M    ./lib
888K    ./local
4.3M    ./sbin
145M    ./share
4.0K    ./src
80K     ./tests

linux 查看当前内存使用情况

root@linaro-developer:/# df -h
Filesystem       Size  Used Avail Use% Mounted on
/dev/mmcblk0p13  1.4G  1.1G  311M  78% / 主目录分区
udev             669M  4.0K  669M   1% /dev
tmpfs            163M  380K  163M   1% /run
/dev/mmcblk0p1    64M   22M   43M  35% /mnt/modem
none             4.0K     0  4.0K   0% /sys/fs/cgroup
none             5.0M     0  5.0M   0% /run/lock
none             814M     0  814M   0% /run/shm
none             100M     0  100M   0% /run/user
/dev/mmcblk0p14   32M  4.1M   28M  13% /mnt/persist
/dev/mmcblk0p17  301M  4.8M  297M   2% /cache
/dev/mmcblk0p23   25G  1.2M   25G   1% /media/internal

你可能感兴趣的:(QT,linux)