linux添加系统负载日志
date >> /home/backupluc/monitor/loadavg.txt
top -b -n 1 | grep Cpu >> /home/backupluc/monitor/loadavg.txt
top -b -n 1 | grep average >> /home/backupluc/monitor/loadavg.txt
top -b -n 1 | grep mysql >> /home/backupluc/monitor/loadavg.txt