Apache server status

In this tutorial I will show you how to enable Apache Server Status (server-status).

As probably you know this will provide a lot of valuable information , but since you are reading this page you are aware of this.

In general to enable the apache server status option you must edit the apache configuration file (httpd.conf)

There look for this section:

Apache server status

To allow server status reports generated by mod_status, with the URL of http://servername/server-status . Uncomment it and edit it allowing your, or the IP address that you are going to visit server status page ‘“ just change the ".example.com" to match your domain or IP to enable.

It should look similar to this:

Apache server status

The next is to allow the ExtendedStatus option.
ExtendedStatus controls whether Apache will generate "full" status information (ExtendedStatus On) or just basic information (ExtendedStatus Off) when the "server-status" handler is called. The default is Off.

Apache server status

Uncomment ExtendedStatus save the changes and restart the Apache web server

#/etc/inet.d/httpd restart

Then go to http://web-server-IP-address/server-staus .

It will open the Apache Server Status page :

Apache server status

In this case my Apache Web Server status page is not so big since there is no even hosted page on it.

Some Apache web servers are missing the next legend, so I will post it here if it happens to missing on your one:

Srv Child Server number – generation
PID OS process ID
Acc Number of accesses this connection / this child / this slot
M Mode of operation
CPU CPU usage, number of seconds
SS Seconds since beginning of most recent request
Req Milliseconds required to process most recent request
Conn Kilobytes transferred this connection
Child Megabytes transferred this child
Slot Total megabytes transferred this slot

Tags

Filed Under: Apache Web Server

Anthony Gee About the Author: Anthony G. is an IT specialist with more than 9 years of solid working experience in the Web Hosting industry. Currently works as server support administrator, involved in consultative discussions about Web Hosting and server administration. One of the first writers in the Onlinehowto.net website, now writing for Free Tutorials community - he is publishing tutorials and articles for the wide public, as well as specific technical solutions.

Leave a Reply