监控概览
Last updated
Last updated
#!/bin/bash
while true
do
free=`free -m | awk 'NR==2{print $NF}'`
if [ $free -lt 100 ]
then
echo $free | mail -s "当前内存" [email protected]
fi
sleep 60
do
ab -n 10000 -c 3 http://10.0.0.61/zabbix/index.php