How to check High CPU and Memory load usages?
If you have installed “sar” on linux server and do you want to only High CPU load, Memory usage log with time stamp and disk space usage log then use below script :
File Name : cpumemdisk.sh
#/bin/bash
echo “This system date is $(date)”
echo ” “;
echo “Load Report in the Server:-“;echo “———————————–“;sar -q | tail -n +4 | grep -v -average | awk {‘print $5 ” ” $1’}| sort -rn | awk {‘print “Time: ” $2 ” %Load: “$1’} | head
echo ” “;
echo “Memory Usage Report in the Server:-“;echo “———————————–“;sar -r | tail -n +4 | grep -v -average | awk {‘print $5 ” ” $1’}| sort -rn | awk {‘print “Time: ” $2 ” %Memory used: “$1’} | head
echo ” “;
echo “Disk space Usages “;echo “———————————–“; df -h
Enjoy 🙂 !!!
Pingback: generic ventolin
Pingback: cipro cost
Pingback: cialis 20mg price
Pingback: naltrexone weight loss
Pingback: tylenol extra strength 500 mg
Pingback: viagra women
Pingback: buy chloroquine
Pingback: hydroxychloroquine otc
Pingback: cvs pharmacy coupons for viagra
Pingback: buy cialis
Pingback: order viagra online
Pingback: cialis online pharmacy