Blog Archives for category load

Script to email load average when it goes above a particular threshold

vi /root/load.sh #!/bin/bash load=`uptime | awk β€˜{print $(NF-2)}’ | cut -d. -f1` if [ $load -gt 4 ] then echo… Continue reading »

Finding Load causing connections and users

By default dcpumon runs every 5 min to log CPU usage (β€œtop” output) and stores the data into /var/log/dcpumon #… Continue reading »