Apache Monitoring using mod_status (server-status)
Monitor the performance of Apache servers using the mod_status Apache module.
oracle miscconfigurationintermediate
by OracleDba
13 views
Monitor the performance of Apache servers using the mod_status Apache module.
123456789101112131415161718
LoadModule status_module modules/mod_status.so
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from localhost 192.168.0.4
</Location>
# service httpd reload
# # OR
# service httpd restart
http://localhost/server-status
http://localhost/server-status?refresh=15123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
Apache Server Status for localhost
Server Version: Apache/2.2.15 (Unix) DAV/2
Server Built: Aug 13 2013 10:51:17
Current Time: Tuesday, 18-Mar-2014 10:12:23 GMT
Restart Time: Tuesday, 18-Mar-2014 10:08:10 GMT
Parent Server Generation: 0
Server uptime: 4 minutes 13 seconds
Total accesses: 6 - Total Traffic: 19 kB
CPU Usage: u0 s0 cu0 cs0
.0237 requests/sec - 76 B/second - 3242 B/request
1 requests currently being processed, 7 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
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>
Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request
0-0 31705 0/13/13 W 0.00 0 0 0.0 0.05 0.05 ::1 ol6-mysql.localdomain GET /server-status?refresh=15 HTTP/1.1
1-0 31706 0/13/13 _ 0.00 75 0 0.0 0.05 0.05 localhost ol6-mysql.localdomain GET /server-status?refresh=15 HTTP/1.1
2-0 31707 0/13/13 _ 0.00 105 0 0.0 0.05 0.05 localhost ol6-mysql.localdomain GET /server-status?refresh=15 HTTP/1.1
3-0 31708 0/13/13 _ 0.00 90 0 0.0 0.05 0.05 localhost ol6-mysql.localdomain GET /server-status?refresh=15 HTTP/1.1
4-0 31709 0/13/13 _ 0.00 60 0 0.0 0.05 0.05 localhost ol6-mysql.localdomain GET /server-status?refresh=15 HTTP/1.1
5-0 31710 0/13/13 _ 0.00 45 0 0.0 0.06 0.06 localhost ol6-mysql.localdomain GET /server-status?refresh=15 HTTP/1.1
6-0 31711 0/13/13 _ 0.00 30 1 0.0 0.06 0.06 localhost ol6-mysql.localdomain GET /server-status?refresh=15 HTTP/1.1
7-0 31712 0/13/13 _ 0.00 15 0 0.0 0.06 0.06 localhost ol6-mysql.localdomain GET /server-status?refresh=15 HTTP/1.1
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 slotPlease to add comments
No comments yet. Be the first to comment!