Here you can search and view our site Knowledge Base.
To find a specific article, use KB-article number format (ex. KB-1)

Article number: Article number: kb-39
Q. In CentOS, how to find free disk space?

A. Try this for "diskfree":

# df -h

df options:
-a: show all file system disk usage
-k: display output in K bytes
-i: display inode infomation
-t: Display disk space usage for each of the specified type of File system
-T: display file system type

# du -c

du options:
-a: write counts for all files, not just directories
-s: display only a total for each argument
-b: display output in bytes( the default is K)
-k: display output in K bytes
-c: produce a grand total
-l: count sizes many times if hard linked

# fdisk -l

This page has been viewed 30 times

Other questions in this category Other questions in this category
1. How to setup SSI to work? (viewed 36 times)
2. How to delete all queued mail on postfix mail server? (viewed 32 times)

Return to Search

Back to Top