Thursday, June 18, 2009

Hard drive usage status from linux


Share at Facebook

How to get the hard disk usage status from linux OS?

Simple command df -h

Output will be


Filesystem Size Used Avail Use% Mounted on
simfs 4.0G 1.4G 2.7G 34% /


here -h for human readable format. Otherwise only df command with -h for disk space will display in below format

Filesystem 1K-blocks Used Available Use% Mounted on
simfs 4194304 1422100 2772204 34% /



Thanks
Wolf.




No comments: