监控磁盘使用率超过98的服务器:
#!/bin/sh
ip=`ifconfig -a|grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|head -1|tr -d "addr:"?`
echo $ip...
admin
2年前 (2022-01-25) 656℃
5喜欢
1、计算curl相关时间命令:
date;curl -w "Result: \n request_time:%{time} \n dnslookup: %{time_namelookup} \n connect: %{time_connect} \n appconnect: ...
admin
2年前 (2022-01-12) 546℃
2喜欢