通过Linux Foundation和edX免费提供的 “Linux 简介” 课程,了解更多有关 Linux 的信息。 via:https://www.linux.com/learn/intro-to-linux/2018/6how-check-disk-space-linux-command-line 作者:Jack Wallen选题:lujun9972译者:SunWave校对:wxy 本文由LCTT原创编译,Linux中国荣誉推出...
Method #1: Use the df Command to Check the Disk Space in Linux Thedfcommand is one of the easiestways to check disk space usageand available block size. Launch the terminal and enter the following command: # df As you can see, thedfcommand, which stands for disk free, displays how muc...
Thedfcommand to check disk space in Linux is widely used by Linux Administrators. It is a built-in utility that displays the amount of free and used disk space on the file system. It is used to report the amount of available and used disk space on the file system, including file system...
To check the Linux disk space, type the following command in the Linux command line: df df -H The df command, without specifying any options, displays a list containing the names of all installed devices. Also, after entering the above command (df-H), the disk space will be displayed ...
[root@php8-83 ~]# /usr/local/nrpe/libexec/check_disk -w 20% -c 10% -x /dev -X tmpfsDISK OK - free space: / 23095 MB (27.17% inode=84%); /boot 720 MB (79.28% inode=99%);| /=61905MB;71658;80615;0;89573 /boot=188MB;780;877;0;975 仅仅剩下根分区与 /boot 分区的使用...
Before learning different methods to check disk space in Linux, you should have the following: Linux CLI knowledge. A basic understanding of the Linux command-line interface will help you navigate through the commands and interpret their outputs. ...
If you want to omit all mount points except for the total, usegrepalongside a regular expression with^to search for thetotalat the start of a line: $df-h--total|grep^total total 22G7.2G 15G33% - Get disk space available on a specific mount ...
登录NRPE所在的宿主系统,执行命令“./check_disk -h”,了解此命令都有哪些选项,其输出如下: This plugin checks the amount of used disk space on a mounted file system and generates an alert if free space is less than one of the threshold values ...
Part 1. Overview of Linux Check Disk The Linux check disk option checks bad sectors and errors on the drive. 1. What Linux Check Disk Means? In Linux, the checkdisk commandis represented by fsck, which is an abbreviation for file system consistency check. Simply put, it is a utility that...
通过Linux Foundation 和 edX 免费提供的 “Linux 简介” 课程,了解更多有关 Linux 的信息。 via: https://www.linux.com/learn/intro-to-linux/2018/6how-check-disk-space-linux-command-line 作者:Jack Wallen 选题:lujun9972 译者:SunWave 校对:wxy 本文由 LCTT 原创编译,Linux中国 荣誉推出...