How to measure cpu usage on a server? I have a lot of people having account on my dedi server. Someone is using a lot of cpu, making the Server Load to reach 70. How can I find out who that is ? Thanks, green rep to good answers
It's somewhat hard to tell what site is causing the problem without a bit more information. Can you tell what process is using the CPU? Is it Apache, PHP, or something else?
If it is cPanel server then you will get some idea from CPU/Memory usage and Currenlt Running process options in WHM. Kailash
Sorry, I was to brief. I know the overall cpu usage by looking in cPanel. What I need to know is what account or domain that use much cpu so that I can shut that site down.
log on ssh type "top" without quote look the process that eat lot of ressource and look who run them.
Hi, There is a tweak in apache conf and then you will be able to see what all ips access which all websites and how much clicks are being received for each of the websites. use the tweaking for viewing the server-stats and you will be able to see them yourselves.
configure your server for suphp and your process will be associated with a user name instead of nobody.. use the top command in ssh to see the process and cpu usage.. if you do not have suphp installed then most process will run as nobody making it harder to find the website causing the problems...