1 .\" Copyright (c) 1998-2002 Sendmail, Inc. and its suppliers.
2 .\" All rights reserved.
4 .\" By using this file, you agree to the terms and conditions set
5 .\" forth in the LICENSE file which can be found at the top level of
6 .\" the sendmail distribution.
9 .\" $Id: mailstats.8,v 8.31 2002/06/27 22:47:29 gshapiro Exp $
11 .TH MAILSTATS 8 "$Date: 2002/06/27 22:47:29 $"
14 \- display mail statistics
17 .RB [ \-c "] [" \-o "] [" \-p "] [" \-P ]
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 white space separated fields:
41 Number of messages from the mailer.
44 Kbytes from the mailer.
47 Number of messages to the mailer.
53 Number of messages rejected.
56 Number of messages discarded.
59 Number of messages quarantined.
62 The name of the mailer.
66 After this display, a line totaling the values for all of the mailers
67 is displayed (preceded with a ``T''),
68 separated from the previous information by a line containing only equals
71 Another line preceded with a ``C'' lists the number of TCP connections.
73 The options are as follows:
76 Read the specified file instead of the default
81 Try to use submit.cf instead of the default
86 Read the specified statistics file instead of the statistics file
92 Output information in program-readable mode without clearing statistics.
95 Output information in program-readable mode and clear statistics.
98 Don't display the name of the mailer in the output.
102 utility exits 0 on success, and >0 if an error occurs.
106 /etc/mail/sendmail.cf