Linux View disk space

Source: Internet
Author: User

Linux View disk space size command

DF: The command is a Linux system that views the file system as a disk partition and can add parameters to view the disk's remaining space information

DF-HL: View the disk's remaining space information, as shown below:

File system capacity has been used with available% mount points

Filesystem Size used Avail use% mounted on

/DEV/VDA1 50G 43G 3.7G 93%/
/dev/hda2 50G 0 7. 49G 0%/
Tmpfs 7.8G 24K 7.8G 1%/DEV/SHM
Tmpfs 7.8G 700K 7.8G 1%/run
Tmpfs 7.8G 0 7.8G 0%/sys/fs/cgroup
Tmpfs 1.6G 0 1.6G 0%/run/user/0

With the above output as an example, the meaning of the expression is:

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

DF-----H [directory name] View all file sizes (including subfolders) under the specified folder
DF------i/dev/-i/dev/sda or sudo apt-get install Blktool sudo blktool/dev /H or DF--

Linux View disk space

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.