Get free disk space and partitions

Show free disk space for all existing partitions (disk free):

$> df -haT

Example output:

Filesystem                  Type             Size  Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root ext4             227G  177G   39G  83% /
proc                        proc                0     0     0    - /proc
sysfs                       sysfs               0     0     0    - /sys
none                        tmpfs            4,0K     0  4,0K   0% /sys/fs/cgroup
none                        fusectl             0     0     0    - /sys/fs/fuse/connections
none                        debugfs             0     0     0    - /sys/kernel/debug
none                        securityfs          0     0     0    - /sys/kernel/security
udev                        devtmpfs          16G  8,0K   16G   1% /dev
devpts                      devpts              0     0     0    - /dev/pts
tmpfs                       tmpfs            3,2G  2,3M  3,2G   1% /run
none                        tmpfs            5,0M     0  5,0M   0% /run/lock
none                        tmpfs             16G   17M   16G   1% /run/shm
none                        tmpfs            100M   68K  100M   1% /run/user
none                        pstore              0     0     0    - /sys/fs/pstore
/dev/sda1                   ext2             236M  195M   29M  88% /boot
binfmt_misc                 binfmt_misc         0     0     0    - /proc/sys/fs/binfmt_misc
rpc_pipefs                  rpc_pipefs          0     0     0    - /run/rpc_pipefs
systemd                     cgroup              0     0     0    - /sys/fs/cgroup/systemd
gvfsd-fuse                  fuse.gvfsd-fuse     0     0     0    - /run/user/1000/gvfs

 

1 thoughts on “Get free disk space and partitions

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.