摘要: 获取linux 服务器内存/cpu/IO等使用情况脚本 #!/bin/bash # 获取要监控的本地服务器IP地址 IP=`ifconfig | grep inet | grep -vE 'inet6|127.0.0.1' | awk '{print $2}'` echo "IP地址:"$IP # 阅读全文
posted @ 2021-04-13 10:04 RoyFans 阅读(523) 评论(0) 推荐(0) 编辑