Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3335395
  • 博文数量: 815
  • 博客积分: 12898
  • 博客等级: 上将
  • 技术积分: 7883
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-25 09:57
文章分类

全部博文(815)

文章存档

2014年(1)

2011年(46)

2010年(192)

2009年(121)

2008年(70)

2007年(385)

分类: BSD

2007-10-16 00:56:09

mail流量统计
#mailstats
Statistics from Tue Oct 16 08:22:29 2007
 M   msgsfr  bytes_from   msgsto    bytes_to  msgsrej msgsdis msgsqur  Mailer
=====================================================================

9       11         13K             11           21K            3           0               0        local
=====================================================================
T       11         13K              11           21K            3           0               0
C       18                              0                              3



MAILSTATS(8)            OpenBSD 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 sepa-
     rated 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 informa-
     tion 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 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.

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

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

SEE ALSO
     mailq(8), sendmail(8)

阅读(2528) | 评论(0) | 转发(0) |
0

上一篇:mail from: atyu30@atyu30.com

下一篇:IPMI介绍

给主人留下些什么吧!~~