mailstats(1M) mailstats(1M)
NAME
mailstats - display mail statistics
SYNOPSIS
mailstats [-o] [-C cffile] [-f stfile]
DESCRIPTION
The mailstats program is supplied with sendmail(1M) to provide an easy
way to view the contents of the sendmail.st file.
The output of mailstats looks like this:
Statistics from Thu Sep 7 13:52:50 1995
M msgsfr bytesfrom msgsto bytesto Mailer
1 0 0K 4 8K *file*
3 324 2466K 1297 4073K local
4 1082 4425K 37 1153K relay
5 1 3K 103 1133K smtp
========================================
T 1407 6894K 1441 6367K
In the first line, the time at which statistics started being kept is
displayed. Then, the statistics for each mailer are displayed on a
single line, each with the following whitespace separated fields:
M The mailer number.
msgsfr Number of messages from the mailer.
bytesfrom Kbytes from the mailer.
msgsto Number of messages to the mailer.
bytesto Kbytes to the mailer.
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 con-
taining only equals = characters.
OPTIONS
-C cffile
Read the specified file instead of the default sendmail.cf file.
-f stfile
Read the specified statistics file instead of the statistics file
specified in the sendmail.cf file.
-o Don't display the name of the mailer in the output.
Page 1 Reliant UNIX 5.44 Printed 4/99
mailstats(1M) mailstats(1M)
DIAGNOSTICS
The mailstats utility exits 0 on success, and >0 if an error occurs.
FILES
/etc/sendmail.cf
The default sendmail configuration file
/var/log/sendmail.st
The default sendmail statistics file
SEE ALSO
mailq(1M), sendmail(1M).
Page 2 Reliant UNIX 5.44 Printed 4/99