'server-status' Installation


Step 1

vi /etc/httpd/conf/httpd.conf

ExtendedStatus On

<Location /server-status>
SetHandler server-status
</Location>

/etc/init.d/httpd reload

To enable server-status




Step 2

Go to web for server-status:

http://serverip/server-status

Apache Server Status for www.alanstudio.hk

Server Version: Apache/2.2.6 (Fedora)
Server Built: Sep 18 2007 11:26:13

Current Time: Monday, 19-Jul-2010 17:49:50 CST
Restart Time: Monday, 19-Jul-2010 15:18:02 CST
Parent Server Generation: 3
Server uptime: 2 hours 31 minutes 48 seconds
Total accesses: 5133 - Total Traffic: 76.3 MB
CPU Usage: u42.77 s7.7 cu10.5 cs0 - .669% CPU load
.564 requests/sec - 8.6 kB/second - 15.2 kB/request
1 requests currently being processed, 19 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

Srv	PID	Acc	M	CPU 	SS	Req	Conn	Child	Slot	Client	VHost	Request
0-3	-	0/0/273	. 	3.78	501	0	0.0	0.00	4.23 	::1	www.alanstudio.hk	GET / HTTP/1.0
1-3	31905	0/280/280	_ 	4.55	86	0	0.0	3.38	3.38 	220.232.206.66	linux.alanstudio.hk	GET /images/linux.gif HTTP/1.1
2-3	13809	0/20/273	_ 	0.14	83	407	0.0	0.32	5.01 	218.102.134.241	lego.alanstudio.hk	GET /7566/IMG_0006.JPG HTTP/1.1
3-3	14305	0/14/272	_ 	0.45	86	0	0.0	0.28	4.40 	220.232.206.66	linux.alanstudio.hk	GET /apymenu.js HTTP/1.1
4-3	-	0/0/257	. 	0.00	497	1	0.0	0.00	3.67 	::1	www.alanstudio.hk	GET / HTTP/1.0
5-3	31909	0/284/284	_ 	3.51	86	0	0.0	3.45	3.45 	220.232.206.66	linux.alanstudio.hk	GET /httpd_server-status.htm HTTP/1.1
6-3	31910	0/282/282	_ 	3.71	7	683	0.0	3.60	3.60 	216.129.119.41	photo.alanstudio.hk	GET /main.php?g2_view=search.SearchScan&g2_form%5BuseDefaultSet
7-3	31911	0/278/278	_ 	4.31	83	439	0.0	4.45	4.45 	218.102.134.241	lego.alanstudio.hk	GET /7566/IMG_0007.JPG HTTP/1.1
8-3	-	0/0/266	. 	4.77	510	0	0.0	0.00	3.34 	::1	www.alanstudio.hk	GET / HTTP/1.0
9-3	31913	0/286/286	_ 	5.19	23	712	0.0	3.36	3.36 	66.249.69.52	photo.alanstudio.hk	GET /main.php?g2_view=slideshowapplet.SlideshowApplet&g2_itemId
10-3	31914	0/284/284	_ 	4.11	81	9629	0.0	4.27	4.27 	218.102.134.241	lego.alanstudio.hk	GET /7566/IMG_0003.JPG HTTP/1.1
11-3	-	0/0/270	. 	6.26	506	0	0.0	0.00	4.23 	::1	www.alanstudio.hk	GET / HTTP/1.0
12-3	31916	0/277/277	_ 	3.58	83	827	0.0	4.43	4.43 	218.102.134.241	lego.alanstudio.hk	GET /7566/IMG_0002.JPG HTTP/1.1
13-3	31917	0/281/281	_ 	4.47	85	0	0.0	4.10	4.10 	220.232.206.66	linux.alanstudio.hk	GET /matrix_title.swf HTTP/1.1
14-3	31918	0/264/264	W 	6.05	0	0	0.0	3.86	3.86 	220.232.206.66	www.alanstudio.hk	GET /server-status HTTP/1.1
15-3	979	0/219/219	_ 	3.80	84	430	0.0	3.86	3.86 	218.102.134.241	lego.alanstudio.hk	GET /7566/IMG_0005.JPG HTTP/1.1
16-3	-	0/0/202	. 	0.00	494	1	0.0	0.00	3.21 	::1	www.alanstudio.hk	GET / HTTP/1.0
17-3	-	0/0/215	. 	2.91	500	0	0.0	0.00	3.64 	::1	www.alanstudio.hk	GET / HTTP/1.0


Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.