httpd status with details from ssh

LAZer

Well-Known Member
Jan 18, 2010
78
2
58
at net :D
hi , how can i get apache httpd status from ssh with full details as what whm shows when viewing the link of apache status
--> /scripts2/apachestatus

i run the following command from ssh : httpd status
but it only shows apache details till WWW........
but i want the rest of the details . is there any commands to run from ssh to view full apache details ? thanks in advanced.
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
Houston, TX
cPanel Access Level
Root Administrator
Use apachectl

You will need to use apachectl to get the information you want. This command:

Code:
# /usr/local/apache/bin/apachectl fullstatus
is the exact command that is used by Main >> Server Status >> Apache Status. The WebHost Manager merely executes the above command and sends the output to the browser.

The following command:

Code:
# /usr/local/apache/bin/apachectl status
is equivalent to:

Code:
# /etc/rc.d/init.d/httpd status
The init script, /etc/rc.d/init.d/httpd, merely calls apachectl and passes it the "status" argument.
 

LAZer

Well-Known Member
Jan 18, 2010
78
2
58
at net :D
thanks

thank u very much for always answering in details and complete. :D

so this worked too .
# httpd fullstatus

but as i had so many apache connections it wasnt so useful and readable and therefor it is much better for me to user full status only from whm itself :D

thanks for your answering dear.