danIT Posted February 6, 2009 Posted February 6, 2009 I've got a basic webserver setup, running a moodle install. Im using 'top' on the linux box to show me how much CPU (%) is being used, it seems to be getting hammered at the moment. How can I tie the process to a request, how can i work out who or what is causing the massive spike?
plexer Posted February 6, 2009 Posted February 6, 2009 top gives a list of the processes with the user and how much cpu is being used? It does here anyway. Ben
danIT Posted February 6, 2009 Author Posted February 6, 2009 yes but the user is Apache in this case.
webman Posted February 6, 2009 Posted February 6, 2009 You can do top -u www-data or whatever the Apache user is; or get Apachetop which might help narrow things down a bit.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now