CentOS command for reporting disk space usage df

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.