[CentOS] High load
John Doe
jdmls at yahoo.comWed Apr 25 09:52:46 UTC 2012
- Previous message: [CentOS] High load
- Next message: [CentOS] High load
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: Kaushal Shriyan <kaushalshriyan at gmail.com> > Is there a way to nail down the issue of high load on a server basically > trying to understand the reason behind high load at a specific time period. > I use top command but it does not have history. Maybe adapt something like this to your needs: while :; do LOAD=`cat /proc/loadavg | cut -f1 -d'.'`; if [ $LOAD -gt 3 ]; then ps auxfw > /tmp/ps.`date +"%s"`; sleep 60; fi; sleep 10; done JD
- Previous message: [CentOS] High load
- Next message: [CentOS] High load
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list