summaryrefslogtreecommitdiff
path: root/gnu/dist/sendmail/mailstats/mailstats.0
blob: ba36e270cb5afab0e4e6f7ee9fdabcf9d1f4375e (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132



MAILSTATS(8)                                         MAILSTATS(8)


NNAAMMEE
       mailstats - display mail statistics

SSYYNNOOPPSSIISS
       mmaaiillssttaattss [--cc] [--oo] [--pp] [--PP] [--CC _c_f_f_i_l_e] [--ff _s_t_f_i_l_e]

DDEESSCCRRIIPPTTIIOONN
       The  mmaaiillssttaattss  utility  displays the current mail statis-
       tics.

       First, the time at which statistics started being kept  is
       displayed, in the format specified by ctime(3).  Then, the
       statistics for each mailer are displayed on a single line,
       each with the following white space separated fields:

              MM           The mailer number.
              mmssggssffrr      Number of messages from the mailer.
              bbyytteess__ffrroomm  Kbytes from the mailer.
              mmssggssttoo      Number of messages to the mailer.
              bbyytteess__ttoo    Kbytes to the mailer.
              mmssggssrreejj     Number of messages rejected.
              mmssggssddiiss     Number of messages discarded.
              MMaaiilleerr      The name of the mailer.

       After  this display, a line totaling the values for all of
       the mailers is displayed (preceded with  a  ``T''),  sepa-
       rated  from  the previous information by a line containing
       only equals (``='')  characters.   Another  line  preceded
       with a ``C'' lists the number of TCP connections.

       The options are as follows:

       --CC     Read  the  specified  file  instead  of the default
              sseennddmmaaiill configuration file.

       --cc     Try to use submit.cf instead of the  default  sseenndd--
              mmaaiill configuration file.

       --ff     Read  the  specified statistics file instead of the
              statistics file specified in the sseennddmmaaiill  configu-
              ration file.

       --PP     Output information in program-readable mode without
              clearing statistics.

       --pp     Output information  in  program-readable  mode  and
              clear statistics.

       --oo     Don't display the name of the mailer in the output.

       The mmaaiillssttaattss utility exits 0 on success,  and  >0  if  an
       error occurs.





                   Date: 2002/09/26 23:03:39                 1





MAILSTATS(8)                                         MAILSTATS(8)


FFIILLEESS
       /etc/mail/sendmail.cf    The  default  sseennddmmaaiill configura-
                                tion file.
       /etc/mail/statistics     The default  sseennddmmaaiill  statistics
                                file.

SSEEEE AALLSSOO
       mailq(1), sendmail(8)

















































                   Date: 2002/09/26 23:03:39                 2