Why is CPU load high?
Show processes
$ ps aux
MySQL high? Log into mysql
$ mysql -uUSERNAME -pPASSWORD
Show running queries
> SHOW PROCESSLIST;
Apache2 high? Check Mod Status.
Note, if your default page is a CMS, e.g. wordpress/drupal/etc you may need to move .htaccess temporarily, or else that directive will just redirect this page as not found.
$ lynx http://localhost/server-status
References:
http://articles.slicehost.com/2010/3/26/enabling-and-using-apache-s-mod_status-on-ubuntu
Comments