Softwares ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Main /
ServerLoadAlertScriptThe script below can be used as a uptime alert script on your server. #!/bin/bash #uptime alert script . UP=`uptime|awk '{print $(NF-2)}'|cut -d. -f1` if test $UP -gt 4 then `uptime| mail -s "**Server-NAME** LOAD is $UP... please login to check" [email protected]` fi |