Checking http connections.
To check http connections on a server that is having high number of httpd processes running you can check that from the shell itself there is no need to login into WHM.
Just give the command :
service httpd fullstatus
This will provide the similar output as of the WHM.
If you get error as :
Not Found
The requested URL /server-status was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.
Then do the following :
1) open the httpd.conf file
2) Find the following lines
#<Location /server-status>
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from .example.com
#</Location>
Uncomment them and also change the Allow line to “Allow from localhost”.
3) Save and restart the httpd
Now you can check connections from shell itself.
Note You need to have mod_status enabled on the server for the above command to work.
And similarly to check the mysql connections you can use the following commands:
mysqladmin processlist
OR
mysqladmin proc
Always try to get rid of WHM/cPanel and try to do the same thing in shell and become more productive by using it.