CentOS 磁盘空间使用率与实际不符

问题描述CentOS7 根目录磁盘空间显示已使用365GB,分析后发现实际只用了150GB。磁盘使用率查看磁盘使用率,显示已用365GB[root@DOCDB-CentOS disk]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 5.8G 0 5.8G 0% /dev tmpfs 5.8G 0 5.8G 0...

126 0 0

Shell 中 echo $ 命令的作用

Shell 中 echo $ 命令的作用echo $$ 返回登录shell的PIDecho $? 返回上一个命令的状态,0表示没有错误,其它任何值表明有错误echo $# 返回传递到脚本的参数个数echo $* 以一个单字符串显示所有向脚本传递的参数,与位置变量不同,此选项参数可超过9个echo $! 返回后台运行的最后一个进程的进程ID号echo $@ 返回传递到脚本的参数个数,但是使用时加引号,并在引号中返回每个参数echo $- 显示shell使用的当前选项echo $0 是脚本本身的名字echo $_ 是保存之前执行的命令的最后一个参数echo $1 传入脚本的第一个参数echo...

167 0 0

rsync 数据同步速度慢?

-avzPWTF?25MB?[root@Zabbix-4 ~]# time rsync -avzP --delete 1110/ 1111/ sending incremental file list ./ VMware-VMvisor-Installer-6.7.0.update03-15160138.x86_64-DellEMC_Customized-A04.iso 355,411,968 100% 25.63MB/s 0:00:13 (xfr#1, to-chk=0/2) sent 350,631,396 bytes received 38 bytes 24...

145 0 0

Zabbix 原生支持宏完整列表

https://www.zabbix.com/documentation/6.0/zh/manual/appendix/macros/supported_by_location

218 0 0

ERROR: Failed to determine the health of the cluster. Unexpected http status [503]

问题重置 elastic 密码 /usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic报错 ERROR: Failed to determine the health of the cluster. Unexpected http status [503]解决办法编辑 /etc/elasticsearch/elasticsearch.yml,禁用 discovery.seed_hosts 和 cluster.initial_master_nodes添加 discovery.type: single-node...

458 1 0