Linux how to view disk remaining space __linux

Source: Internet
Author: User

[Root@linux var]# df-hl 
file system              capacity  used available% mount point
/dev/hdb2              75G   75G     0 100%/
/dev/hdb1              99M  9.2M   85M  10%/boot
none                  251M     0  251M   0%/dev/shm
What does that mean? How much space do I have left to use? Can I see the rest of a directory? For example: How to check the remaining space of var. I can only see the use of space using the du command.

DF is a disk partition to view the file system.
/dev/hdb2 75G 75G 0 100%/, take this for example.
is the HD hard disk on the pretext of the second hard drive (b), the inside of the second partition (2), the capacity is 75G, with 75G, usable is 0, so utilization is 100%, he was mounted on the root partition directory (/). To

view a single directory by command
# Du-bs Dir_name


Original address: Http://zhidao.baidu.com/link?url=XqzNgPVs40AO5p1pGIcM_HyMFF17sAw1FByjuZ9K5Is7PmUTsJekE0ZsecpHy1oL_ S6eee3mrsvni4gvk2tgeq



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.