On 12/09/2014 16:04, Michael Neumann wrote: > Hello, > > i am looking for a command that outputs the currently logged on users of > cyrus imapd, is there something available? > > Best regards > Hello, I use the following handy one liner : lsof -p `pidof imapd|tr ' ' ','` | \ grep '/var/lib/cyrus/user/.*\.seen$' | \ awk '{ print $9 }' | sort | uniq | \ cut -f7 -d'/' | cut -f1 -d'.' with cyrus 2.2 under ubuntu server, YMMV ! Cheers, M -- Michel Blanc - Systèmes / Réseaux Erasme Erasme - Département du Rhône - Saint Clément les Places/FR69930 Email : mblanc@xxxxxxxxxx - Tel: +33-474706840 GitHub : @leucos - GPG: 0X24B35C22 ---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus