
MAILSTATS(1)		     UNIX Reference Manual		  MAILSTATS(1)

NAME

     mailstats - display mail statistics
     mailstats - ʾʼ״̬Ϣ

SYNOPSIS

     mailstats [-o] [-C cffile] [-f stfile]

DESCRIPTION

     The mailstats utility displays the current mail statistics.
     mailstatsʾǰʼ״̬Ϣ

     First, the time at which statistics started being kept is displayed, in
     the format specified by ctime(3).	Then, the statistics for each mailer
     are displayed on a single line, each with the following whitespace sepa
     rated fields:
     ȣʾͳʱ¼ʱ䣬Ȼctime(3)ָĸʽȻÿ
	 ʾһʼͳƣÿжԿոЩֶηָ

	   M	       The mailer number.
				   ʼ
	   msgsfr      Number of messages from the mailer.
				   ʼյż
	   bytes_from  Kbytes from the mailer.
				   ʼյż
	   msgsto      Number of messages to the mailer.
				   ʼ򷢳ż
	   bytes_to    Kbytes to the mailer.
				   ʼ򷢳ż
	   msgsrej     Number of messages rejected.
				   ˻صż
	   msgsdis     Number of messages discarded.
				   ż
	   Mailer      The name of the mailer.
				   ʼ

     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 (``='') characters.
	 ʾЩһжʼֵкϼƣмһеȺŰ
	 ݸ

     The options are as follows:
	 óѡ

     -C	     Read the specified file instead of the default sendmail ``cf'' file.
			 ȡָļ滻ȱʡsendmail"cf"ļ

     -f	     Read the specified statistics file instead of the statistics file
	     specified in the sendmail ``cf'' file.
			 ȡָͳļ滻sendmail"cf"ļָǸͳļ

     -o	     Don't display the name of the mailer in the output.
			 вʾʼ

     The mailstats utility exits 0 on success, and >0 if an error occurs.
	 ó0ش0κֵ

FILES
ļ
     /etc/sendmail.cf	     The default sendmail ``cf'' file.
							 ȱʡsendmail"cf"ļ
     /var/log/sendmail.st    The default sendmail statistics file.
							 ȱʡsendmailͳļ

SEE ALSO

     mailq(1),	sendmail(8)

3rd Berkeley Distribution	April 25, 1996				     1

[İά] meaculpa email:meaculpa@21cn.com
[İ¸] 2001/02/24
MAN-PAGEƻ:http://www.cmpp.net/