[12553] | 1 | MAILSTATS(1) BSD Reference Manual MAILSTATS(1) |
---|
| 2 | |
---|
| 3 | NNAAMMEE |
---|
| 4 | mmaaiillssttaattss - display mail statistics |
---|
| 5 | |
---|
| 6 | SSYYNNOOPPSSIISS |
---|
| 7 | mmaaiillssttaattss [--oo] [--CC _c_f_f_i_l_e] [--ff _s_t_f_i_l_e] |
---|
| 8 | |
---|
| 9 | DDEESSCCRRIIPPTTIIOONN |
---|
| 10 | The mmaaiillssttaattss utility displays the current mail statistics. |
---|
| 11 | |
---|
| 12 | First, the time at which statistics started being kept is displayed, in |
---|
| 13 | the format specified by ctime(3). Then, the statistics for each mailer |
---|
| 14 | are displayed on a single line, each with the following whitespace sepa- |
---|
| 15 | rated fields: |
---|
| 16 | |
---|
| 17 | MM The mailer number. |
---|
| 18 | mmssggssffrr Number of messages from the mailer. |
---|
| 19 | bbyytteess__ffrroomm Kbytes from the mailer. |
---|
| 20 | mmssggssttoo Number of messages to the mailer. |
---|
| 21 | bbyytteess__ttoo Kbytes to the mailer. |
---|
| 22 | mmssggssrreejj Number of messages rejected. |
---|
| 23 | mmssggssddiiss Number of messages discarded. |
---|
| 24 | MMaaiilleerr The name of the mailer. |
---|
| 25 | |
---|
| 26 | After this display, a line totaling the values for all of the mailers is |
---|
| 27 | displayed, separated from the previous information by a line containing |
---|
| 28 | only equals (``='') characters. |
---|
| 29 | |
---|
| 30 | The options are as follows: |
---|
| 31 | |
---|
| 32 | --CC Read the specified file instead of the default sseennddmmaaiill ``cf'' |
---|
| 33 | file. |
---|
| 34 | |
---|
| 35 | --ff Read the specified statistics file instead of the statistics file |
---|
| 36 | specified in the sseennddmmaaiill ``cf'' file. |
---|
| 37 | |
---|
| 38 | --oo Don't display the name of the mailer in the output. |
---|
| 39 | |
---|
| 40 | The mmaaiillssttaattss utility exits 0 on success, and >0 if an error occurs. |
---|
| 41 | |
---|
| 42 | FFIILLEESS |
---|
| 43 | /etc/sendmail.cf The default sseennddmmaaiill ``cf'' file. |
---|
| 44 | /var/log/sendmail.st The default sseennddmmaaiill statistics file. |
---|
| 45 | |
---|
| 46 | SSEEEE AALLSSOO |
---|
| 47 | mailq(1), sendmail(8) |
---|
| 48 | |
---|
| 49 | 3rd Berkeley Distribution April 25, 1996 1 |
---|