Apache

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Jeremy C. Reed
日付:  
題目: Apache
On Thu, 14 Aug 2003, Miles Beck wrote:

> I know I can go into the access.log and watch it. I am looking more for
> something that would show how many users are connected to the server.


netstat -an | egrep ':(80|443)' | grep -v LISTEN

netstat -an | egrep ':(80|443)' | grep -v LISTEN | wc -l

Also look at Apache's mod_status. It gives a variety of information,
including "The current hosts and requests being processed".
http://httpd.apache.org/docs-2.0/mod/mod_status.html

Have fun!

Jeremy C. Reed
http://bsd.reedmedia.net/