To view the performance status of an Apache server with the mod_status
module configured, you can access the mod_status
status page through a web browser. The mod_status
status page provides information about the current status and performance of the Apache server, including the number of requests per second, the number of idle and busy worker processes, and the current server uptime.
To access the mod_status
status page, you will need to know the URL of the page. The URL of the mod_status
status page is usually in the form http://server-name/server-status
, where server-name
is the domain name or IP address of the server.
For example, if the Apache server is running on the localhost with the default mod_status
configuration, you can access the mod_status
status page by visiting the following URL in a web browser:
http://localhost/server-statusSuorce:www.lautturi.com
This will display the mod_status
status page, which will look something like this:
Apache Server Status for localhost Server Version: Apache/2.4.46 (Unix) Server Built: Jul 13 2021 14:15:53 Current Time: Tue Jul 13 14:16:24 2021 Restart Time: Tue Jul 13 14:15:53 2021 Parent Server Config. Generation: 1 Parent Server MPM Generation: 0 Server uptime: 31 seconds Total accesses: 1 - Total Traffic: 0 CPU Usage: u1.00 s0.00 cu0 cs0 - .0003234% CPU load 1 requests/sec - 7.4 B/second - 521 B/request 4 requests currently being processed, 0 idle workers W__.................. Scoreboard Key: "_" Waiting for Connection, "S" Starting up, "R" Reading Request, "W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup, "C" Closing connection, "L" Logging, "G" Gracefully finishing, "I" Idle cleanup of worker, "." Open slot with no current process
The mod_status
status page provides a wealth of information about the current status and performance of the Apache server. You can use this information to troubleshoot problems with the server, optimize its performance, or simply monitor its activity.