Top CPU consumers
Top CPU consumers
Hello,
How to get the top CPU consumers?
Thanks
How to get the top CPU consumers?
Thanks
Re: Top CPU consumers
Yes thanks.
I see many processes consuming 60-70% then what?
I see many processes consuming 60-70% then what?
Re: Top CPU consumers
100% is one core. You probably have many. Press '1' in top. That toggles between one-line summary of CPU and all cores shown.
"Then what" ... what do you want to do now that you know the active processes?
"Then what" ... what do you want to do now that you know the active processes?
Re: Top CPU consumers
The thing is that at every minute, the processes at the top change...
Re: Top CPU consumers
What process(es) and what user(s)?
Re: Top CPU consumers
We have many DBs and these are mysql databases and processes.
Re: Top CPU consumers
Yes. The top updates its view regularly.
man top wrote: The top program provides a dynamic real-time view of a running system.
...
-d :Delay-time interval as: -d ss.t (secs.tenths)
Specifies the delay between screen updates. Default: 1.5 seconds.
If you want a snapshot from one moment, then perhaps ps is better:
Code: Select all
ps axuk -%cpu | head -30
Re: Top CPU consumers
If you want a more historical view there's always sa/sar and friends. If you are hunting for it be aware though that it has been moved from cron into the potty black hole.
Re: Top CPU consumers
I can't help but think that the real question has not even been asked...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke