How do I see the use of a hard disk in Linux?

Source: Internet
Author: User
Keywords Linux
Tags aliyun disk display file hard html http linux

How do I see the use of a hard disk in Linux?

We can use the DF command, as shown in the following example:

1, DF in K-unit display

[Root@localhost ~]# DF
File system &http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; 1k-block used available% mount point
/dev/sda2 20158332 4289708 14844624 23%/
Tmpfs 969356 969284 butenafine SHM
/DEV/SDA1 198337 51575 136522 28% Boot
/dev/sda5 16793992 176064 15764836 2%/webserver

2, DF to the human unit display, can be b,k,m,g,t.

[Root@localhost ~]# DF
File system capacity used available with percent mount point
/dev/sda2 20G 4.1G 15G 23%/
Tmpfs 947M 72K 947M butenafine SHM
/DEV/SDA1 194M 51M 134M 28% Boot
/dev/sda5 17G 172M 16G 2%/webserver

Related Article

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.