ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 配置管理员对系统连接的用户进行监控

配置管理员对系统连接的用户进行监控

原创 Linux操作系统 作者:wgf19830218 时间:2011-01-12 14:00:44 0 删除 编辑

1.取消了对以下条目的屏蔽LoadModule status_module modules/mod_status.so

SetHandler server-status
Order deny,allow
# Deny from all
Allow from all
#.@@DomainName@@

2.最后重啟Apache服務即可
3.在瀏覽器中監控服務狀態
http://localhost/server-status

信息如下:

Apache Server Status for localhost
Server Version: Apache/2.2.4 (Win32)
Server Built: Jul 27 2007 09:34:50

--------------------------------------------------------------------------------

Current Time: Wednesday, 12-Jan-2011 13:55:46 台北標準時間
Restart Time: Wednesday, 12-Jan-2011 13:11:45 台北標準時間
Parent Server Generation: 0
Server uptime: 44 minutes 1 second
Total accesses: 2530 - Total Traffic: 1.7 MB
.958 requests/sec - 687 B/second - 717 B/request
1 requests currently being processed, 299 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 SS Req Conn Child Slot Client VHost Request
0-0 2964 0/417/417 _  261 15 0.0 0.54 0.54  10.142.252.128 cccpdmtest.ccc.net GET /Windchill/servlet/WindchillAuthGW/wt.content.ContentHttp/v
0-0 2964 0/954/954 _  22 0 0.0 0.38 0.38  10.142.244.150 cccpdmtest.ccc.net GET /Windchill/com/ptc/core/ui/images/btnLftBtm.gif HTTP/1.1
0-0 2964 0/667/667 _  286 0 0.0 0.64 0.64  10.142.244.150 cccpdmtest.ccc.net GET /Windchill/netmarkets/images/ptclogo.gif HTTP/1.1
0-0 2964 0/2/2 _  1883 0 0.0 0.00 0.00  10.142.252.150 cccpdmtest.ccc.net GET /Windchill/wt/clients/images/schedrevault.gif HTTP/1.1
0-0 2964 0/2/2 _  1876 0 0.0 0.00 0.00  10.142.252.150 cccpdmtest.ccc.net GET /Windchill/wt/clients/images/togleEnabled.gif HTTP/1.1
0-0 2964 0/2/2 _  1876 0 0.0 0.00 0.00  10.142.252.150 cccpdmtest.ccc.net GET /Windchill/wt/clients/images/mountvalidate.gif HTTP/1.1
0-0 2964 0/486/486 W  0 0 0.0 0.17 0.17  127.0.0.1 cccpdmtest.ccc.net 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
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

 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22453766/viewspace-683672/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-09-01

  • 博文量
    38
  • 访问量
    52773