Check Free Disk Space On Linux
Posted by in Linux October 12, 2012 1 Comment

To check free disk space on Linux system, we can use df command as below. Note that, this command is executed on Amazon EC2 environment.

Examples – Check free disk space on Linux

df -k

[ec2-user@ip-10-130-166-147 ~]$ df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/xvda1             8256952   6972096   1200984  86% /
tmpfs                  3559608         0   3559608   0% /dev/shm

df -h

[ec2-user@ip-10-130-166-147 ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/xvda1            7.9G  6.7G  1.2G  86% /
tmpfs                 3.4G     0  3.4G   0% /dev/shm

Hoan Huynh is the founder and head of 4rapiddev.com. Reach him at hoan@4rapiddev.com
  • http://www.ywordpress.com/ Wordpress Development

    I really appreciate sharing this great post. I like this blog and have bookmarked it. Thumbs up