Apache

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
Subject: 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/