Answered by the Webhosting Experts

Linux
Managed Services

Just Leave Linux to Us
Is maintaining your Linux server keeping your team bogged down? Alleviate unnecessary stress with one of Hivelocity’s Linux Managed Services plans. With reboots, monitoring, updates, and more, your team can rest easy knowing your hardware and OS are in the hands of hosting experts.

Configure your server today and see the benefits a Hivelocity managed Linux solution can offer you!

Tags
...
...

How can I check the load on the server, without logging in to it?

Following script to check the load on the server could be referred:-

This script will create a file called chkload wherein all the details will be saved in a time and date

format. Any irregularities could be checked.

———————————————————————

### Script is created to check the load on server ###
echo >> chkload
echo ” Load `date +” on “%d-%m-%y” at “%H-%M` ” >> chkload
echo “—— Load detail from top ——–” >> chkload
#####added to display the top result
/usr/bin/top -n 1 -b >> chkload
uptime >> chkload
echo “—— End of top ——–” >> chkload

echo >> chkload
echo “—— Memory Free ——–” >> chkload
free -m >> chkload
echo >> chkload
echo “—— CPU Detail ——–” >> chkload
sar | head -n 3 >> chkload
sar | tail -n 5 >> chkload
echo >> chkload
echo “———– Few important Process Detail ————” >> chkload
echo >> chkload
ps aux | egrep -v “STIME|$LOGNAME” | head -n 6 >> chkload
echo >> chkload
echo “—————————————————————————————” >> chkload
echo “—————————————————————————————” >> chkload

Share

Facebook
Twitter
LinkedIn
Email
WhatsApp

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.