Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jan 2010
    Location
    at net :D
    Posts
    48

    Question httpd status with details from ssh

    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.

  2. #2
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default 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.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  3. #3
    Registered User
    Join Date
    Jul 2010
    Posts
    2

    Default getting apacce httpd status

    i think this article may be of interest to you

    One source for all science videos

  4. #4
    Member
    Join Date
    Jan 2010
    Location
    at net :D
    Posts
    48

    Smile thanks

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

    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

    thanks for your answering dear.

Similar Threads & Tags
Similar threads

  1. /etc/init.d/httpd and whm-server-status
    By rking in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-13-2007, 02:02 PM
  2. adding imap and pop details in service status
    By ANUP in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-23-2006, 02:58 PM
  3. Incorrect ssh exit status
    By ssss in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-09-2006, 05:10 AM
  4. Check Server in SSH (the service status in whm, but in ssh)
    By drumhtd in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-30-2005, 04:16 PM
  5. service httpd status
    By RedFutura in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-29-2003, 06:18 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube