I am having the following question. On our intranet system we often have people perform searches that take huge amount of CPU resources. Sometimes 100%. Is there a way to see what IP address is taking how much of the CPU resources?? Server is Ubuntu thanks for any help
This could be useful for u: http://ubuntuguide.net/howto-view-and-limit-process-cpu-usage-in-ubuntu-linux you see what process (not ip) is using CPU. If you type on the shell "w" (without " ), you see who is connected and what is doing. I hope that's useful. cheers
not quite what I am looking for. I do need to see each IP that requests a php file and how much cpu it is using. for now I set up a php script that doe it until I can find a better way
Use the server-status functionality built in to Apache to see the connections and what they are doing. It will help you track down the user causing the problem. You might need to enable this in httpd.conf if it isn't already.