List currently logged on users

Michel Blanc mblanc at erasme.org
Fri Sep 12 11:30:04 EDT 2014


On 12/09/2014 17:20, Patrick Goetz wrote:
> Question:  what's wrong with
> 
>     ps auxw | grep imap
> 
> Doesn't this provide an accurate representation of who's logged in?

Hi Patrick,

On 2.2 it doesn't include the imap username :

$ ps auxw | grep imap
cyrus    25038  0.0  0.1  96104  4332     Sep09   0:00 imapd -U 30
cyrus    25244  0.0  0.1  96236  4516     Sep09   0:00 imapd -U 30
cyrus    25245  0.0  0.1  96132  4324     Sep09   0:00 imapd -U 30
cyrus    25633  0.0  0.1  96104  4284     Sep09   0:00 imapd -U 30
cyrus    29320  0.0  0.1  96412  4544     Sep11   0:00 imapd -U 30
cyrus    29321  0.0  0.1  96436  4168     Sep11   0:00 imapd -U 30
...


May be the output is different in other versions ?

M
-- 
Michel Blanc - Systèmes / Réseaux Erasme
Erasme - Département du Rhône - Saint Clément les Places/FR69930
  Email  : mblanc at erasme.org - Tel: +33-474706840
  GitHub : @leucos - GPG: 0X24B35C22


More information about the Info-cyrus mailing list