Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to check the remaining space on Linux disk

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to check the remaining space on Linux disk". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "how to check the remaining space on Linux disk"!

The Df command is used to view the file system in terms of disk partition. You can add parameters to view the information of the remaining disk space. Command format:

Df-hl

The display format is:

File system capacity used available used% mount point

/ 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 0100% /, which means:

The second hard disk (b) and the second partition (2) of the HD hard disk interface have a capacity of 75g, 75g is used, and the availability is 0, so the utilization rate is 100%, which is mounted to the root partition directory (/)

At this point, I believe you have a deeper understanding of "how to check the remaining space on Linux disk". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report