摘要: 脚本 脚本 #!/bin/bash # 获取要监控的本地服务器IP地址 IP=`/usr/sbin/ifconfig | grep inet | grep -vE 'inet6|127.0.0.1' | awk '{print $2}'` # 获取cpu总核数 cpu_num=`grep -c "m 阅读全文
posted @ 2023-02-16 09:22 天葬 阅读(127) 评论(0) 推荐(0) 编辑