summaryrefslogtreecommitdiff
path: root/mailstats/mailstats.0
blob: b6fbcf20d2aafd694a60a073b9a9bdef26fb0622 (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
MAILSTATS(1)                 BSD Reference Manual                 MAILSTATS(1)

NNAAMMEE
     mmaaiillssttaattss - display mail statistics

SSYYNNOOPPSSIISS
     mmaaiillssttaattss [--oo] [--CC _c_f_f_i_l_e] [--ff _s_t_f_i_l_e]

DDEESSCCRRIIPPTTIIOONN
     The mmaaiillssttaattss utility displays the current mail statistics.

     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 whitespace sepa-
     rated 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.
           MMaaiilleerr      The name of the mailer.

     After this display, a line totaling the values for all of the mailers is
     displayed, separated from the previous information by a line containing
     only equals (``='') characters.

     The options are as follows:

     --CC      Read the specified file instead of the default sseennddmmaaiill ``cf''
             file.

     --ff      Read the specified statistics file instead of the statistics file
             specified in the sseennddmmaaiill ``cf'' file.

     --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.

FFIILLEESS
     /etc/sendmail.cf        The default sseennddmmaaiill ``cf'' file.
     /var/log/sendmail.st    The default sseennddmmaaiill statistics file.

SSEEEE AALLSSOO
     mailq(1),  sendmail(8)

3rd Berkeley Distribution       April 25, 1996                               1