DOKK / manpages / debian 12 / dovecot-core / doveadm-stats.1.en
DOVEADM-DUMP(1) Dovecot DOVEADM-DUMP(1)

doveadm-stats - Inspect or reset stats

doveadm stats dump [ -s <stats socket path> ] <type> [ <filter> ]

doveadm stats top [ -s <stats socket path> ] [ -b ] [ sortfield> ]

doveadm stats reset [ -s <stats socket path> ]

doveadm stats add [ --description <string> ] [ --exporter <name> [ --exporter-include <field> ]] [ --fields <fields> ] [ --group_by <fields> ] <name> <filter>

doveadm stats remove <name>

doveadm stats dump is used to output statistics

doveadm stats top is used to monitor statistics

doveadm stats reset is used to reset statistics

doveadm stats add is used to add metrics to statistics

doveadm stats remove is used to remove metrics from statistics

Command specific options:

Sets stats socket path
Show disk input/output bytes

dump accepts following types: command, session, user, domain, ip and global.

Filter can be

Match given user.
Match given DNS domain name
Match session identifier
Match local or remote IP
Match session start time
Show only connected sessions

top accepts any valid field name to sort along with.

Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting bugs is available at: http://dovecot.org/bugreport.html

doveadm(1)

2016-01-12 Dovecot v2.3