> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:squirrelmail-
> [EMAIL PROTECTED] On Behalf Of Eddy Beliveau
> Sent: Monday, December 13, 2004 1:22 PM
> To: [EMAIL PROTECTED]
> Subject: [SM-USERS] monitoring number of active squirrelmail sessions
> 
> Hi!
> 
> I'm using Squirrelmail 1.4.2-1, imapproxyd 1.2.2, apache2.0.40-2
> and cyrus-imapd 2.1.16 on RedHat 9.0
> 
> My Squirrelmail timeout is 60 minutes.
> 
> Please note that NONE of my users are directly using IMAP, they are
using
> Squirrelmail
> 
> 'ls /tmp/sess_* | wc -l'             said 912
> 'ps -ef | grep httpd | wc -l'       said : 17
> 'netstat -an | grep ":143 " | grep ESTABLISHED | wc -l'    said 136
> 
> Which number, if any, are the correct one ?
> 
> I do not want to know the number of persistent imap connection
> I want to know the current number of active user
> 
> Can it be done ?

You could use imapproxyd's pimpstat, but it's interactive --

x CLIENT CONNECTIONS 
x    current:         4                 peak:        44 
x
x ACTIVE SERVER CONNECTIONS

x    current:         6                 peak:        43 
x
x CACHED SERVER 
x    current:       339                 peak:       386
x
x CONNECTION TOTALS
x
x    client connections accepted:               1404005
x    client logins:                             1395003
x    server connections created:                  89971
x    server connection reuses:                  1305032
x    client login to server login ratio:      15.51 : 1


--
Marc



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to