CentOS command for reporting disk space usage df
Df command to list the number of available disk space on the file system where the specified file name is located. If no file name is specified, all currently in use file systems are displayed. By default, the disk space is displayed in 1 K. If the environment variable POSIXLY_CORRECT is set, it is displayed in 512 bytes.
Command Format
Df [OPTION]... [FILE]...
Command Parameters
-A, -- all
Displays disk space usage of all file systems
-B, -- block-size = SIZE
Block Size
-- Total
Displays the total disk space usage.
-H, -- human-readable
Display information in an easy-to-read manner
-H, -- si
Similar to-h, but 1 K = 1000 bytes instead of 1 K = 1024 bytes
-I, -- inodes
Replace blocks with inode information to indicate occupancy
-K
Equivalent to -- block-size = 1 K
-L, -- local
Only displays the usage of the local file system
-- No-sync
Do not call sync before obtaining disk Information
-P, -- portability
Output in POSIX format
-- Sync
Call syn before obtaining disk Information
-T, -- type = TYPE
Only display information of the specified type of File System
-T, -- print-type
The type of each file system is displayed.
-X, -- exclude-type = TYPE
Only information about file systems outside the specified type is displayed.
-V (ignore)
-- Help
Show Help Information
-- Version
Show version information