1 .\" Copyright (c) 1998 Sendmail, Inc. All rights reserved.
3 .\" By using this file, you agree to the terms and conditions set
4 .\" forth in the LICENSE file which can be found at the top level of
5 .\" the sendmail distribution.
8 .\" @(#)mailstats.8 8.8 (Berkeley) 11/13/1998
15 .Nd display mail statistics
25 utility displays the current mail statistics.
27 First, the time at which statistics started being kept is displayed,
28 in the format specified by
31 the statistics for each mailer are displayed on a single line,
32 each with the following whitespace separated fields:
34 .Bl -tag -width 10n -offset indent -compact
38 Number of messages from the mailer.
40 Kbytes from the mailer.
42 Number of messages to the mailer.
46 Number of messages rejected.
48 Number of messages discarded.
50 The name of the mailer.
53 After this display, a line totaling the values for all of the mailers
55 separated from the previous information by a line containing only equals
59 The options are as follows:
62 Read the specified file instead of the default
67 Read the specified statistics file instead of the statistics file
75 Output information in program-readable mode and clear statistics.
78 Don't display the name of the mailer in the output.
83 utility exits 0 on success, and >0 if an error occurs.
85 .Bl -tag -width /var/log/sendmail.stXX -compact
86 .ie \nP .It Pa /etc/mail/sendmail.cf
87 .el .It Pa /etc/sendmail.cf
92 .ie \nP .It Pa /etc/mail/statistics
93 .el .It Pa /var/log/sendmail.st