mailstats man page on MirBSD

Man page or keyword search:  
man Server   6113 pages
apropos Keyword Search (all sections)
Output format
MirBSD logo
[printable version]

MAILSTATS(8)		 BSD System Manager's Manual		  MAILSTATS(8)

NAME
     mailstats - display mail statistics

SYNOPSIS
     mailstats [-c] [-o] [-p] [-P] [-C cffile] [-f stfile]

DESCRIPTION
     The mailstats utility displays the current mail statistics.

     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
     separated fields:

	   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.
	   msgsqur
		Number of messages quarantined.
	   Mailer
		The name of the mailer.

     After this display, a line totaling the values for all of the mailers is
     displayed (preceded with a "T"), separated from the previous information
     by a line containing only equals ("=") characters. Another line preceded
     with a "C" lists the number of TCP connections.

     The options are as follows:

     -C	     Read the specified file instead of the default sendmail confi-
	     guration file.

     -c	     Try to use submit.cf instead of the default sendmail configura-
	     tion file.

     -f	     Read the specified statistics file instead of the statistics file
	     specified in the sendmail configuration file.

     -p	     Output information in program-readable mode and clear statistics.

     -P	     Output information in program-readable mode without clearing
	     statistics.

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

FILES
     /etc/mail/sendmail.cf   The default sendmail "cf" file.
     /var/log/sendmail.st    The default sendmail statistics file.

EXIT STATUS
     The mailstats utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
     mailq(8), sendmail(8)

MirOS BSD #10-current	      December 19, 2010				     1
[top]

List of man pages available for MirBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net