1996-11-18 07:29:19 +03:00
|
|
|
.\" @(#)mailstats.8 8.1 (Berkeley) 9/21/96
|
|
|
|
.Dd April 25, 1996
|
|
|
|
.Dt MAILSTATS 1
|
|
|
|
.Os BSD 3
|
1996-08-14 11:07:06 +04:00
|
|
|
.Sh NAME
|
|
|
|
.Nm mailstats
|
1996-11-18 07:29:19 +03:00
|
|
|
.Nd display mail statistics
|
1996-08-14 11:07:06 +04:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm mailstats
|
|
|
|
.Op Fl o
|
1996-11-18 07:29:19 +03:00
|
|
|
.Op Fl C Ar cffile
|
|
|
|
.Op Fl f Ar stfile
|
1996-08-14 11:07:06 +04:00
|
|
|
.Sh DESCRIPTION
|
1996-11-18 07:29:19 +03:00
|
|
|
The
|
|
|
|
.Nm mailstats
|
|
|
|
utility displays the current mail statistics.
|
|
|
|
.Pp
|
|
|
|
First, the time at which statistics started being kept is displayed,
|
|
|
|
in the format specified by
|
|
|
|
.Xr ctime 3 .
|
|
|
|
Then,
|
|
|
|
the statistics for each mailer are displayed on a single line,
|
|
|
|
each with the following whitespace separated fields:
|
|
|
|
.Pp
|
|
|
|
.Bl -tag -width 10n -offset indent -compact
|
|
|
|
.It Sy M
|
|
|
|
The mailer number.
|
|
|
|
.It Sy msgsfr
|
|
|
|
Number of messages from the mailer.
|
|
|
|
.It Sy bytes_from
|
|
|
|
Kbytes from the mailer.
|
|
|
|
.It Sy msgsto
|
|
|
|
Number of messages to the mailer.
|
|
|
|
.It Sy bytes_to
|
|
|
|
Kbytes to the mailer.
|
|
|
|
.It Sy Mailer
|
|
|
|
The name of the mailer.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
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
|
|
|
|
.Pq Dq \&=
|
|
|
|
characters.
|
1996-08-14 11:07:06 +04:00
|
|
|
.Pp
|
1996-11-18 07:29:19 +03:00
|
|
|
The options are as follows:
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl C
|
|
|
|
Read the specified file instead of the default
|
|
|
|
.Nm sendmail
|
|
|
|
.Dq cf
|
|
|
|
file.
|
|
|
|
.It Fl f
|
|
|
|
Read the specified statistics file instead of the statistics file
|
|
|
|
specified in the
|
1996-08-14 11:07:06 +04:00
|
|
|
.Nm sendmail
|
1996-11-18 07:29:19 +03:00
|
|
|
.Dq cf
|
|
|
|
file.
|
|
|
|
.It Fl o
|
|
|
|
Don't display the name of the mailer in the output.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm mailstats
|
|
|
|
utility exits 0 on success, and >0 if an error occurs.
|
1996-08-14 11:07:06 +04:00
|
|
|
.Sh FILES
|
1996-11-18 07:29:19 +03:00
|
|
|
.Bl -tag -width /var/log/sendmail.stXX -compact
|
1996-08-14 11:07:06 +04:00
|
|
|
.It Pa /etc/sendmail.cf
|
1996-11-18 07:29:19 +03:00
|
|
|
The default
|
|
|
|
.Nm sendmail
|
|
|
|
.Dq cf
|
|
|
|
file.
|
1996-08-14 11:07:06 +04:00
|
|
|
.It Pa /var/log/sendmail.st
|
1996-11-18 07:29:19 +03:00
|
|
|
The default
|
|
|
|
.Nm sendmail
|
|
|
|
statistics file.
|
1996-08-14 11:07:06 +04:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
1996-11-18 07:29:19 +03:00
|
|
|
.Xr mailq 1 ,
|
1996-08-14 11:07:06 +04:00
|
|
|
.Xr sendmail 8
|