The
mailstats
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 separated fields:
-tag -width 10n -offset indent -compact
Sy M
The mailer number.
Sy msgsfr
Number of messages from the mailer.
Sy bytes_from
Kbytes from the mailer.
Sy msgsto
Number of messages to the mailer.
Sy bytes_to
Kbytes to the mailer.
Sy msgsrej
Number of messages rejected.
Sy msgsdis
Number of messages discarded.
Sy Mailer
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
Dq =
characters.
The options are as follows:
-tag -width Ds
Fl C
Read the specified file instead of the default
sendmail
cf
file.
Fl f
Read the specified statistics file instead of the statistics file
specified in the
sendmail
cf
file.
\nP \
\{
Fl p
Output information in program-readable mode and clear statistics.