MAILSTATS(8) MAILSTATS(8) 名称 mailstats - メールの統計情報を表示する 書式 mailstats [-o] [-p] [-C cffile] [-f stfile] 解説 mailstats は、現在のメールの統計情報を表示します。 ま ず、統計が開始された時刻が ctime(3) で指定されるフォーマットで表示さ れます。次に、各メーラの状態が 1 行で表示されます。それぞれ空白で区切ら れた次のフィールドからなります: M メーラ番号。 msgsfr メーラからのメッセージ数。 bytes_from メーラからのキロバイト数。 msgsto メーラへのメッセージ数。 bytes_to メーラへのキロバイト数。 msgsrej 拒否されたメッセージ数。 msgsdis 捨てられたメッセージ数。 Mailer メーラ名。 この表示の後、すべてのメーラの総計行が表示されます (前に ‘‘T’’ が付きま す)。これらは、等号 (‘‘=’’) 文字のみからなる行によりその前の情報と分 け られます。文字 ‘‘C’’ が前に付く他の行は、接続数を示します。 オプションは以下の通りです: -C デフォルトの sendmail 設定ファイルの代りに指定されたファイルを読 みます。 -f sendmail 設定ファイルで指定されている統計情報ファイルの代りに 、 指定された統計情報ファイルを読みます。 -p プログラムが読み取る形式で情報を出力し、統計情報をクリアします。 -o 出力においてメーラ名を表示しません。 mailstats は成功時には 0 で、エラー時には >0 で終了します。 関連ファイル /etc/mail/sendmail.cf デフォルトの sendmail 設定ファイル /etc/mail/statistics デフォルトの sendmail 統計情報ファイル 関連項目 mailq(1), sendmail(8) $Date: 2001/07/29 05:15:28 $ MAILSTATS(8)
MAILSTATS(8) 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 white space 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 configu- ration 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 without clearing statistics. -p Output information in program-readable mode and clear statis- tics. -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. FILES /etc/mail/sendmail.cf The default sendmail configuration file. /var/log/mail/statistics The default sendmail statistics file. SEE ALSO mailq(1), sendmail(8) $Date: 2002/06/27 22:47:29 $ MAILSTATS(8)
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa