On Mon, Apr 03, 2006 at 03:02:33PM -0700, [EMAIL PROTECTED] wrote: > > i think process perent for each user is the same, so: > > ps -ef | grep -v root | grep "imapd\|pop3d" | awk '{print $3}'| sort | > uniq | wc -l > > should work. > i might be wrong though >
Each imapd process (for example) is a son of couriertls process. But if one user (through thunderbird for example) opens 3 connexions, the three independant imapd processes will have 3 couriertcpd parents. So, this doesn't give the expected result. Thanks for your guesses, however, Pierre David ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap