How to view the remaining disk space on CentOS

Source: Internet
Author: User

The DF command of the Linux system is to view the file system as a disk partition, optionally with parameters to view the disk's remaining space information, the command format:

Df-hl

The display format is:

File system capacity has been used with available% mount points

/dev/hda5 487M 120M 342M 27%/

/DEV/HDA1 981M 21M 911M 3%/boot

None 125M 0 125M 0%/dev/shm

/dev/hda2 29G 4.9G 23G 18%/Home

/dev/hda3 20G 4.8G 14G 27%/usr

/dev/hda7 24G 510M 22G 3%/var

/DEV/HDB2 75G 75G 0 100%/

/DEV/HDB2 75G 75G 0 100%/,

The actual disk information for the query means:

HD HDD Interface second hard drive (b), second partition (2), capacity is 75G, 75G, usable is 0, so utilization is 100%, is mounted on the root partition directory (/)

How to view the remaining disk space on CentOS

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.