This will give you how many people go to your web site, keep in mind they are not "connected" as you asked. Once their browser downloads the page there is no connection.
-----Original Message-----
From: Jeremy C. Reed [
mailto:reed@reedmedia.net]
Sent: Thursday, August 14, 2003 11:12 AM
To: PLUG-Discuss
Subject: Re: 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/
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss