摘要:
#!/bin/bash # 获取要监控的本地服务器IP地址 IP=`ifconfig | grep inet | grep -vE 'inet6|127.0.0.1' | awk '{print $2}'` echo "IP地址:"$IP # 获取cpu总核数 cpu_num=`grep -c "m 阅读全文
posted @ 2024-07-31 17:47
秦瑞It行程实录
阅读(10)
评论(0)
推荐(0)
浙公网安备 33010602011771号