usage of [df]

df displays the amount of disk space available on the file
system containing each file name argument. If no file name is given, the space available on all currently
mounted file systems is shown. Disk space is shown in 1K blocks by default, unless the environment variable
POSIXLY_CORRECT is set, in which case 512-byte blocks are used.

 

df

Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sda1       56393948 7294016  46228540  14% /
none                   4       0         4   0% /sys/fs/cgroup
udev             4001524       4   4001520   1% /dev
tmpfs             802216     844    801372   1% /run
none                5120       0      5120   0% /run/lock
none             4011068     232   4010836   1% /run/shm
none              102400      48    102352   1% /run/user
/dev/sda6       50621100 4464996  43577980  10% /media/d10/71eae78e-adae-422c-a289-62fc57c6ea6e

df -h

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        54G  7.0G   45G  14% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
udev            3.9G  4.0K  3.9G   1% /dev
tmpfs           784M  844K  783M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            3.9G  232K  3.9G   1% /run/shm
none            100M   48K  100M   1% /run/user
/dev/sda6        49G  4.3G   42G  10% /media/d10/71eae78e-adae-422c-a289-62fc57c6ea6e

df -hi

Filesystem     Inodes IUsed IFree IUse% Mounted on
/dev/sda1        3.5M  223K  3.3M    7% /
none             980K     1  980K    1% /sys/fs/cgroup
udev             977K   500  977K    1% /dev
tmpfs            980K   470  979K    1% /run
none             980K     3  980K    1% /run/lock
none             980K     7  980K    1% /run/shm
none             980K    24  980K    1% /run/user
/dev/sda6        3.1M  209K  2.9M    7% /media/d10/71eae78e-adae-422c-a289-62fc57c6ea6e

posted @ 2013-08-22 11:27  distric10  阅读(179)  评论(0)    收藏  举报