Df
From Wsms
Note: This page should be titled df (all lowercase). It is Df due to technical limitations of Mediawiki.
df reports disk usage
[edit]
common usage
See how much space is used and available on a partition.
ggeller@harrison:~/Desktop$ df -h . Filesystem Size Used Avail Use% Mounted on /dev/sda4 17G 5.7G 11G 36% /
Check out the inode usage:
ggeller@harrison:~/Desktop$ df -ih . Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda4 2.2M 135K 2.1M 7% /
See all the mounted volumes, including the psuedo-volumes set up by the kernel:
root@roosevelt:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda4 35G 31G 2.9G 92% / varrun 1014M 144K 1014M 1% /var/run varlock 1014M 0 1014M 0% /var/lock udev 1014M 76K 1014M 1% /dev devshm 1014M 0 1014M 0% /dev/shm lrm 1014M 34M 980M 4% /lib/modules/2.6.22-14-generic/volatile /dev/sda1 33G 18G 16G 54% /media/sda1 fusesmb 35G 31G 2.9G 92% /home/ggeller/Network /dev/scd0 4.2G 4.2G 0 100% /media/cdrom0
[edit]
see also
man df
xfs
Linux_commands
