서 버
1. 아파치 서버 상태(정보)를 보여주는 모듈입니다.
# 모듈을 로드합니다.
LoadModule status_module modules/mod_status.so
# 확장 정보를 출력합니다.
ExtendedStatus On
# 핸들러 및 로케이션을 통한 제한설정을 합니다.(아래는 .example.com 으로 끝나는 도메인에서 접근이 가능합니다.)
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from .example.com
</Location>
2. 출력 결과
Apache Server Status for 192.168.220.131
Server Version: Apache/2.2.3 (CentOS)
Server Built: May 28 2009 12:50:07
--------------------------------------------------------------------------------
Current Time: Tuesday, 30-Jun-2009 05:33:20 KST
Restart Time: Tuesday, 30-Jun-2009 05:33:16 KST
Parent Server Generation: 0
Server uptime: 3 seconds
Total accesses: 0 - Total Traffic: 0 kB
CPU Usage: u0 s0 cu0 cs0
0 requests/sec - 0 B/second -
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
Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request
0-0 9349 0/0/0 W 0.00 0 0 0.0 0.00 0.00 192.168.220.1 dummy-host.example.com GET /server-status 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 slot
--------------------------------------------------------------------------------
Apache/2.2.3 (CentOS) Server at 192.168.220.131 Port 80

좋은 팁 감사합니다 ㅎㅎ