Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
12:10 is like 11:50, it's idle most of the night. 15% usage at 3:00Am when my backup kicks in.
I can't find anything in the cron logs at midnight. I thought maybe sar which runs every 10 min and creates a new log after the 11:50 run might be just spitting out garbage when it initializes the new file at midnight. I mean, how do you get 109% in 3 columns? They are all supposed to add upto 100%
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Originally posted by te_conway I mean, how do you get 109% in 3 columns? They are all supposed to add upto 100%
They're caused by nice tasks. The niced tasked get added to system time as well as user time, so sometimes the total ends up over 100%. So if sys = 0 and usr = 0, all will be equal to nice. It is kind of interesting to see the niced task take up 109% by itself. Do you remember prioritizing anything above normal? A snapshot of system activity at that time( something like top) will be useful to find out where the system is spending such a "nice time"!!
I run a pretty vanilla RH 7.2 server and do not see the activity you see on yours. You might get a clue by viewing your processes (ps -ef or ps -aux) redirect it out to a file for comparison. Do one at 11:50 and every 60 seconds thereafter.
As mentioned earlier, Top or Gtop (gnome) might lead you right to the process, but if top shows a child process of the culprit as the top consumer of resources, then the ps output could show you all the processes which are active on your system at the time of all this activity. You could use the diff command to compare output (diff psoutput1 psoutput9)
Hope this helps;
You could download "atop" from Freshmeat.net and run it with a small interval. I find it gives better output compared to running "top".
If you're bent on running "ps" then try I would suggest running it as "\ps axh -eo %C -eo priority,command | sort -nr". The backslash obsoletes any ps alias you have, h is w/o header, %C shows CPU usage, the rest should be clear.
I thought I had the latest sysstat rpm but found a newer one. I installed it yeaterday and I did not get the same results last night. I'm going to monitor it, I believe it was an issue with sysstat and smp when it rotates it's daily log, or something along those lines.