How to Monitor Apache Web Server Load and Page Statistics

Download Your Free eBooks NOW - 10 Free Linux eBooks for Administrators

Tarunika Shrivastava

I am a linux server admin and love to play with Linux and all other distributions of it. I am working as System Engineer with a Web Hosting Company.

TecMint users Get a Free Domain and 30% off on Inmotion Web Hosting - Signup with Inmotion Now!

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

You may also like...

12 Responses

  1. Dev says:

    Awesome page..thanks for your help

  2. Chakradhar says:

    Very useful , please post more on web server administration & tuning for better performance.

    Thank you

  3. sani says:

    Hi
    I am trying to enable mod_status, I follow all steps very carefully, but not getting expected result; when I try to access http://IP-address/server-status

    face following error:
    404 Ooops…It looks like the page your are looking for does not exist

    more over there is no file or folder name server-status in DocumentRoot location;

    any idea, I think there should some script in DocumentRoot location that will be called and display a result…

    please help me if you know the reason of this problem;

    thanks
    sani

    • sani says:

      when I stop all my virtual hosts, http://IP-address/server-status worsk fine, and when I put

      SetHandler server-status
      Order deny,allow
      Deny from all
      Allow from 127.0.0.1

      inside virtual host ,it gave me 404 Ooops…It looks like the page your are looking for does not exist

      its very urgent please help

      thanks in advance;

      sani

    • V V N S R's says:

      Is this works for windows machine , Because i did the changes its not working properly,

  4. Mario says:

    If the web server is listening only on port 8443 (https), how can I configure the server-status page?

    • Ravi Saive says:

      Doesn’t matter which port you are using for Apache, just enable the server-status module as suggested in the article..that’s it..

  5. MOT says:

    is there any way to get this info in json format with bash ?

  6. sushobhan says:

    I have configured server-status likewise. But its showing the following error.

    Forbidden:
    you don’t have permission to access /server-status on this server.

    Please help me.

    • Ravi Saive says:

      Please add your system IP in allow list, for example see the following entry.

      Allow from Your-IP-Address-Here
      
  7. tangsi says:

    I’ve seen many statistics data with the url “http://192.168.114.161/server-status” ,like Server Version,Server Built,,Current Time,Restart Time,Parent Server Generation,Server uptime,Total accesses , but i couldn’t find the “CPU Usage”, i can’t find out what’s wrong,can you help me?

  8. Kamil Masłowski says:

    If you are writing about accessing server-status from console, check out apachetop too: https://code.google.com/p/apachetop/

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Join Over 62000+ Linux Users
  1. 47558
  2. 2150
  3. 11343

Enter your email to get latest Linux Howto's