blob: 8819215e919f855906a087d34a2b213a6aeec091 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
.\" Copyright (c) 2010-2018 Dovecot authors, see the included COPYING file
.TH DOVEADM\-DUMP 1 "2016-01-12" "Dovecot v2.3" "Dovecot"
.SH NAME
doveadm\-stats \- Inspect or reset stats
.\"------------------------------------------------------------------------
.SH SYNOPSIS
.BR doveadm\ stats\ dump " [ " \-s\ <stats\ socket\ path> " ] " <type> " [ " <filter> " ]"
.PP
.BR doveadm\ stats\ top " [ " \-s\ <stats\ socket\ path> " ] " "[ " -b " ]" " [ " sort field> " ]"
.PP
.BR doveadm\ stats\ reset " [ " \-s\ <stats\ socket\ path> " ] "
.PP
.BR doveadm\ stats\ add " [ " \-\-description\ <string> " ] [ " \-\-exporter\ <name> " [ " \-\-exporter-include\ <field> " ]] [ " \-\-fields\ <fields> " ] [ " \-\-group_by\ <fields> " ] " <name>\ <filter>
.PP
.BR doveadm\ stats\ remove\ <name>
.\"------------------------------------------------------------------------
.SH DESCRIPTION
.B doveadm stats dump
is used to output statistics
.PP
.B doveadm stats top
is used to monitor statistics
.PP
.B doveadm stats reset
is used to reset statistics
.PP
.B doveadm stats add
is used to add metrics to statistics
.PP
.B doveadm stats remove
is used to remove metrics from statistics
.\"------------------------------------------------------------------------
.SH OPTIONS
Command specific
.IR options :
.TP
.BI \-s socketpath
Sets stats socket path
.TP
.B \-b
Show disk input/output bytes
.\"------------------------------------------------------------------------
.SH ARGUMENTS
.BR dump
accepts following types: command, session, user, domain, ip and global.
.PP
Filter can be
.TP
.B user=<wildcard>
Match given user.
.TP
.B domain=<wildcard>
Match given DNS domain name
.TP
.B session=<str>
Match session identifier
.TP
.B ip=<ip>"["/<mask>"]"
Match local or remote IP
.TP
.B since=<timestamp>
Match session start time
.TP
.B connected
Show only connected sessions
.PP
.BR top
accepts any valid field name to sort along with.
.\"------------------------------------------------------------------------
@INCLUDE:reporting-bugs@
.\"------------------------------------------------------------------------
.SH SEE ALSO
.BR doveadm (1)
|