1MAILSTATS(8)                System Manager's Manual               MAILSTATS(8)
2
3
4

NAME

6       mailstats - display mail statistics
7

SYNOPSIS

9       mailstats [-c] [-o] [-p] [-P] [-C cffile] [-f stfile]
10

DESCRIPTION

12       The mailstats 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           The mailer number.
20              msgsfr      Number of messages from the mailer.
21              bytes_from  Kbytes from the mailer.
22              msgsto      Number of messages to the mailer.
23              bytes_to    Kbytes to the mailer.
24              msgsrej     Number of messages rejected.
25              msgsdis     Number of messages discarded.
26              msgsqur     Number of messages quarantined.
27              Mailer      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 in‐
31       formation by a line containing only equals (``='') characters.  Another
32       line preceded with a ``C'' lists the number of TCP connections.
33
34       The options are as follows:
35
36       -C     Read the specified file instead of the default sendmail configu‐
37              ration file.
38
39       -c     Try to use submit.cf instead of the default sendmail  configura‐
40              tion file.
41
42       -f     Read  the  specified  statistics  file instead of the statistics
43              file specified in the sendmail configuration file.
44
45       -P     Output information in  program-readable  mode  without  clearing
46              statistics.
47
48       -p     Output  information  in  program-readable mode and clear statis‐
49              tics.
50
51       -o     Don't display the name of the mailer in the output.
52
53       The mailstats utility exits 0 on success, and >0 if an error occurs.
54

FILES

56       /etc/mail/sendmail.cf    The default sendmail configuration file.
57       /var/log/mail/statistics The default sendmail statistics file.
58

SEE ALSO

60       mailq(1), sendmail(8)
61
62
63
64                         $Date: 2013-11-22 20:51:51 $             MAILSTATS(8)
Impressum