-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Timo Sirainen said the following on 01/09/11 16:05:
Then you can use doveadm stats top/dump.
did what you said, restarted dovecot, run (as root) doveadm stats top and got this in dovecot log:
Error: stats: open(/var/run/dovecot//stats-mail) failed: Permission denied
And the output of doveadm was simply
USER SERVICE %CPU %SYS DISKIN DISKOUT
# ls -al /var/run/dovecot/ total 24 drwxr-xr-x 4 root root 4096 Sep 1 16:25 . drwxr-xr-x 22 root root 4096 Sep 1 15:01 .. srw------- 1 root root 0 Sep 1 16:25 anvil srw------- 1 root root 0 Sep 1 16:25 anvil-auth-penalty srw------- 1 root root 0 Sep 1 16:25 auth-client srw------- 1 dovecot root 0 Sep 1 16:25 auth-login srw------- 1 root root 0 Sep 1 16:25 auth-master srw-rw-rw- 1 root root 0 Sep 1 16:25 auth-userdb srw------- 1 dovecot root 0 Sep 1 16:25 auth-worker srw------- 1 root root 0 Sep 1 16:25 config srw------- 1 root root 0 Sep 1 16:25 dict srw------- 1 root root 0 Sep 1 16:25 director-admin srw------- 1 root root 0 Sep 1 16:25 director-userdb srw-rw-rw- 1 root root 0 Sep 1 16:25 dns-client srw------- 1 root root 0 Sep 1 16:25 doveadm-server lrwxrwxrwx 1 root root 25 Sep 1 16:25 dovecot.conf -> /etc/dovecot/dovecot.conf drwxr-xr-x 2 root root 4096 Dec 14 2009 empty srw-rw-rw- 1 root root 0 Sep 1 16:25 indexer srw-rw-rw- 1 root root 0 Sep 1 16:25 indexer-worker srw------- 1 root root 0 Sep 1 16:25 ipc srw-rw-rw- 1 root root 0 Sep 1 16:25 lmtp drwxr-x--- 2 root dovenull 4096 Sep 1 16:25 login prw------- 1 dovecot dovecot 0 Sep 1 16:25 stats-mail
- -rw------- 1 root root 6 Sep 1 16:25 master.pid srw------- 1 root root 0 Sep 1 16:25 stats
Ciao, luigi
/ +--[Luigi Rosa]-- \
Zipple grelbnot horbnofg asirvnig fzouple! Or something like that. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk5flq8ACgkQ3kWu7Tfl6ZRQcQCeNbR0bBBf8Ux2pT4doiw912jO a3AAn3UPZu+xTqHXQ9XbCuxDPrrrd2vk =W99h -----END PGP SIGNATURE-----