[ You may also be interested in downloading theCurl command cheat sheet. ] Use df It's a good idea to use thedfcommand regularly to monitor usage on critical mount points. These are the ways I typically use the command, so find your favorite options and start gathering data about your ...
测试成功后,修改NRPE配置文件“nrpe.cfg”,更新“command[check_df]”所在的文本行,其完整内容如下: command[check_df]=/usr/local/nrpe/libexec/check_disk -w 20% -c 10% -X tmpfs -x /dev 重启NRPE服务,片刻观察Centreon Web管理后台,磁盘监控项目的输出缩短了,看起来更加清晰明了。编辑...
1.在线安装 yum install -y vim 示例含义:在线安装vim服务 注意:如果要加速yum在线下载需要修改yum源...
Command (m for help): m //输入m列出常用的命令 Help: DOS (MBR) a toggle a bootable flag //切换分区启动标记 b edit nested BSD disklabel //编辑sdb磁盘标签 c toggle the dos compatibility flag //切换dos兼容模式 Generic d delete a partition //删除分区 F list free unpartitioned space //...
diskstats filesystems iomem ioports kallsyms meminfo modules partitions uptime version vmstat 场景3:后台执行命令 代码语言:txt AI代码解释 nohup <command> &>[some.log] & 一些命令 代码语言:txt AI代码解释 # 综合 top htop glances dstat & sar ...
Exit with CRITICAL status if less than PERCENT of inode space is free -p, --path=PATH, --partitinotallow=PARTITION Mount point or block device as emitted by the mount(8) command (may be repeated) -x, --exclude_device=PATH <STRING> ...
Command (mforhelp): g Created a new GPT disklabel (GUID: 2B2D211A-2B85-9049-8AD7-BAA27DDCD243). The device contains'dos'signature and it will be removed by a writecommand. See fdisk(8) man page and --wipe optionformore details. ...
w write tableto diskandexit x extra functionality (experts only) Command (mfor help): n //输入n,回车新建分区 Partition type: p primary (0 primary, 0 extended, 4 free) e extended Select (default p): p Partition number (1-4, default 1):1#分区号为1,分区号是1到4 ...
Welcome tofdisk(util-linux2.33.1).Changes will remaininmemory only,until you decide to write them.Be careful before using the write command.The old LVM2_member signature will be removed by a write command.Device does not contain a recognized partition table.The sizeofthisdisk is3.7TiB(400078703...
To check the disk usage of a specific directory, use: du -h /path/to/directory This command will list the sizes of all files and subdirectories within the specified directory. For instance, if you run: du -h /home/user You should see the following output: ...