Disk free space

April 8, 2009

Disk consumption of partitions in connected hard disk.

df -hT –exclude-type=tmpfs

Examples:

~$ df -h /dev/sda1
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             9.9G  4.3G  5.2G  46% /

~$ df -h /home
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             9.9G  8.5G  893M  91% /home

~$ df -hT –exclude-type=tmpfs
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/sda1     ext3    9.9G  4.3G  5.2G  45% /
/dev/sda2     ext3    9.9G  8.5G  907M  91% /home
/dev/sda5     ext3    9.9G  6.5G  3.0G  69% /mnt/sda5
/dev/sda6     ext3    9.9G  9.3G  104M  99% /mnt/sda6
/dev/sda7     ext3    9.9G  7.5G  2.0G  80% /mnt/sda7
/dev/sda8     ext3    9.9G  9.0G  436M  96% /mnt/sda8
/dev/sda9     ext3     14G   11G  3.1G  77% /mnt/sda9
/dev/hdb2     ext3    9.1G  2.3G  6.3G  27% /mnt/hdb2