摘要: 一、脚本 今天主要分享一个shell脚本,用来获取linux系统CPU、内存、磁盘IO等信息。 #!/bin/bash # 获取要监控的本地服务器IP地址 IP=`ifconfig | grep inet | grep -vE 'inet6|127.0.0.1' | awk '{print $2}' 阅读全文
posted @ 2021-06-30 15:41 麒麟改bug 阅读(190) 评论(0) 推荐(0) 编辑