Import sendmail 8.13.8
[dragonfly.git] / contrib / sendmail-8.13.8 / mailstats / mailstats.0
1 MAILSTATS(8)                                                      MAILSTATS(8)
2
3
4
5 N\bNA\bAM\bME\bE
6        mailstats - display mail statistics
7
8 S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
9        m\bma\bai\bil\bls\bst\bta\bat\bts\bs [-\b-c\bc] [-\b-o\bo] [-\b-p\bp] [-\b-P\bP] [-\b-C\bC _\bc_\bf_\bf_\bi_\bl_\be] [-\b-f\bf _\bs_\bt_\bf_\bi_\bl_\be]
10
11 D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
12        The m\bma\bai\bil\bls\bst\bta\bat\bts\bs utility displays the current mail statistics.
13
14        First, the time at which statistics started being kept is displayed, in
15        the format specified by ctime(3).  Then, the statistics for each mailer
16        are  displayed  on  a  single line, each with the following white space
17        separated fields:
18
19               M\bM           The mailer number.
20               m\bms\bsg\bgs\bsf\bfr\br      Number of messages from the mailer.
21               b\bby\byt\bte\bes\bs_\b_f\bfr\bro\bom\bm  Kbytes from the mailer.
22               m\bms\bsg\bgs\bst\bto\bo      Number of messages to the mailer.
23               b\bby\byt\bte\bes\bs_\b_t\bto\bo    Kbytes to the mailer.
24               m\bms\bsg\bgs\bsr\bre\bej\bj     Number of messages rejected.
25               m\bms\bsg\bgs\bsd\bdi\bis\bs     Number of messages discarded.
26               m\bms\bsg\bgs\bsq\bqu\bur\br     Number of messages quarantined.
27               M\bMa\bai\bil\ble\ber\br      The name of the mailer.
28
29        After this display, a line totaling the values for all of  the  mailers
30        is  displayed  (preceded  with  a  ``T''),  separated from the previous
31        information by  a  line  containing  only  equals  (``='')  characters.
32        Another line preceded with a ``C'' lists the number of TCP connections.
33
34        The options are as follows:
35
36        -\b-C\bC     Read the specified file instead of the default s\bse\ben\bnd\bdm\bma\bai\bil\bl configu-
37               ration file.
38
39        -\b-c\bc     Try  to use submit.cf instead of the default s\bse\ben\bnd\bdm\bma\bai\bil\bl configura-
40               tion file.
41
42        -\b-f\bf     Read the specified statistics file  instead  of  the  statistics
43               file specified in the s\bse\ben\bnd\bdm\bma\bai\bil\bl configuration file.
44
45        -\b-P\bP     Output  information  in  program-readable  mode without clearing
46               statistics.
47
48        -\b-p\bp     Output information in program-readable mode  and  clear  statis-
49               tics.
50
51        -\b-o\bo     Don't display the name of the mailer in the output.
52
53        The m\bma\bai\bil\bls\bst\bta\bat\bts\bs utility exits 0 on success, and >0 if an error occurs.
54
55 F\bFI\bIL\bLE\bES\bS
56        /etc/mail/sendmail.cf    The default s\bse\ben\bnd\bdm\bma\bai\bil\bl configuration file.
57        /etc/mail/statistics     The default s\bse\ben\bnd\bdm\bma\bai\bil\bl statistics file.
58
59 S\bSE\bEE\bE A\bAL\bLS\bSO\bO
60        mailq(1), sendmail(8)
61
62
63
64                          $Date: 2002/06/27 22:47:29 $             MAILSTATS(8)