Disk Usage

Show the overall disk usage

# df

To find out how much space a given directory is used

# du -s

This will output the usage of each partition in the server

# df -h

To list the size of a specific directory, run the following command:

# du -sh /home/

If you want to list all the subdirectory sizes under /home, run the following command:

# du -sh /home/*