The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache usage in command line

Discussion in 'EasyApache' started by shann, Oct 8, 2005.

  1. shann

    shann Well-Known Member

    Joined:
    Jul 5, 2002
    Messages:
    366
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
    Hi,

    How do we find apache usage in command line?. Some of the sites are casuing serverlaod.
    Anyone can help me.

    thanks
     
  2. tuxdesk

    tuxdesk Well-Known Member

    Joined:
    Oct 1, 2005
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    6
    Edit httpd.conf file as shown below. then restart apache

    =====================
    <Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from localhost
    < /Location>
    ====================
    After then run "/etc/init.d/httpd status" in command prompt. :D
     
    #2 tuxdesk, Oct 8, 2005
    Last edited: Oct 8, 2005
Loading...

Share This Page