[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Commands Reference, Volume 3
mailstats Command
Purpose
Displays statistics about mail traffic.
Syntax
mailstats [ -o ][ -p ]
[ -C CfFile ] [ -f StatFile ]
Description
The mailstats command displays
the current mail statistics. The time at which the statistics started displays
reads the information in the format specified by ctime.
The statistics for each mailer are displayed on a single line, with the following
fields:
M |
Contains the mailer number. |
msgsfr |
Contains the number of messages received by the local machine from
the indicated mailer. |
bytes_from |
Contains the number of Kbytes in the messages received by the local
machine from the indicated mailer. |
msgsto |
Contains the number of messages sent from the local machine using the
indicated mailer. |
bytes_to |
Contains the number of bytes in the messages sent from the local machine
using the indicated mailer. |
msgsrej |
Contains the number of messages rejected. |
msgsdis |
Contains the number of messages discarded. |
Mailer |
Contains the name of mailer. |
After the statistics are displayed, a line totaling
the value of all of the mailers displays, preceeded with a T. This information is separated from the statistics by a line containing
only = (equal characters). Another line preceeded with
a C lists the number of connections.
Flags
-C cfFile |
Specifies use of the cfFile instead of the
default sendmailcf file. |
-f StatFile |
Specifies use of the StatFile instead of the
statistics file specified in the sendmail.cf file. |
-o |
Specifies that the name of the mailer does not display in the output. |
-p |
Outputs information in program readable mode and clears
the statistics. |
Exit Status
0 |
Successful completion. |
>0 |
An error occurred. |
Files
/etc/mail/statistics |
Default sendmail statistics file. |
/etc/mail/sendmail.cf |
Default sendmail configuration file. |
Related Information
The mailq
command and sendmail command.
Managing the Mail Queue Files
and Directories in AIX 5L Version 5.2 System Management Guide: Communications and Networks.
How To Display Mailer Information, How to Log the Mailer Statistics in AIX 5L Version 5.2 System Management Guide: Communications and Networks.
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]