source: trunk/third/sendmail/mailstats/mailstats.8 @ 19208

Revision 19208, 2.4 KB checked in by zacheiss, 22 years ago (diff)
Merge with sendmail 8.12.9.
Line 
1.\" Dummy comment to avoid confusing man
2.so /usr/athena/share/tmac/tmac.doc
3.\" Copyright (c) 1998-2002 Sendmail, Inc. and its suppliers.
4.\"      All rights reserved.
5.\"
6.\" By using this file, you agree to the terms and conditions set
7.\" forth in the LICENSE file which can be found at the top level of
8.\" the sendmail distribution.
9.\"
10.\"
11.\"     $Id: mailstats.8,v 1.3 2003-04-08 15:42:14 zacheiss Exp $
12.\"
13.TH MAILSTATS 8 "$Date: 2003-04-08 15:42:14 $"
14.SH NAME
15mailstats
16\- display mail statistics
17.SH SYNOPSIS
18.B mailstats
19.RB [ \-c "] [" \-o "] [" \-p "] [" \-P ]
20.RB [ \-C
21.IR cffile ]
22.RB [ \-f
23.IR stfile ]
24.SH DESCRIPTION
25The
26.B mailstats
27utility displays the current mail statistics.
28.PP
29First, the time at which statistics started being kept is displayed,
30in the format specified by
31ctime(3). 
32Then,
33the statistics for each mailer are displayed on a single line,
34each with the following white space separated fields:
35.sp
36.RS
37.PD 0.2v
38.TP 1.2i
39.B M
40The mailer number.
41.TP
42.B msgsfr
43Number of messages from the mailer.
44.TP
45.B bytes_from
46Kbytes from the mailer.
47.TP
48.B msgsto
49Number of messages to the mailer.
50.TP
51.B bytes_to
52Kbytes to the mailer.
53.TP
54.B msgsrej
55Number of messages rejected.
56.TP
57.B msgsdis
58Number of messages discarded.
59.TP
60.B Mailer
61The name of the mailer.
62.PD
63.RE
64.PP
65After this display, a line totaling the values for all of the mailers
66is displayed (preceded with a ``T''),
67separated from the previous information by a line containing only equals
68(``='')
69characters.
70Another line preceded with a ``C'' lists the number of TCP connections.
71.PP
72The options are as follows:
73.TP
74.B \-C
75Read the specified file instead of the default
76.B sendmail
77configuration file.
78.TP
79.B \-c
80Try to use submit.cf instead of the default
81.B sendmail
82configuration file.
83.TP
84.B \-f
85Read the specified statistics file instead of the statistics file
86specified in the
87.B sendmail
88configuration file.
89.TP
90.B \-P
91Output information in program-readable mode without clearing statistics.
92.TP
93.B \-p
94Output information in program-readable mode and clear statistics.
95.TP
96.B \-o
97Don't display the name of the mailer in the output.
98.PP
99The
100.B mailstats
101utility exits 0 on success, and >0 if an error occurs.
102.SH FILES
103.PD 0.2v
104.TP 2.5i
105/etc/mail/sendmail.cf
106The default
107.B sendmail
108configuration file.
109.TP
110/etc/mail/statistics
111The default
112.B sendmail
113statistics file.
114.PD
115.SH SEE ALSO
116mailq(1),
117sendmail(8)
Note: See TracBrowser for help on using the repository browser.