摘要: REF linux #!/bin/bash # 获取要监控的本地服务器IP地址 IP=`ifconfig | grep inet | grep -vE 'inet6|127.0.0.1' | awk '{print $2}'` echo "IP地址:"$IP # 获取cpu总核数 cpu_num=` 阅读全文
posted @ 2021-04-15 17:19 lllunaticer 阅读(49) 评论(0) 推荐(0) 编辑