Go to main content

マニュアルページ セクション 1: ユーザーコマンド

印刷ビューの終了

更新: 2018年8月8日
 
 

mrtg-traffic-sum (1)

名前

mrtg-traffic-sum - Builds monthly traffic summary

形式

mrtg-traffic-sum [options...] config-file

-h, --help      display this help and exit
--version       output version information and exit
--catch=regexp  filter out things that match this in PageTop
--email=address email the result
--min=gigabytes minimal number of gigabites required

説明

mrtg-traffic-sum(1)              User Commands             mrtg-traffic-sum(1)



NAME
       mrtg-traffic-sum - Builds monthly traffic summary

SYNOPSIS
       mrtg-traffic-sum [options...] config-file

       -h, --help      display this help and exit
       --version       output version information and exit
       --catch=regexp  filter out things that match this in PageTop
       --email=address email the result
       --min=gigabytes minimal number of gigabites required

DESCRIPTION
       The  mrtg-traffic-sum goes through the mrtg logs for the targets in the
       the config file specified and builds the traffic  total  for  the  last
       month in Giga Bytes. (Note in communications Giga is 10^9).

       The result of this analysis can be sent via email to an address of your
       choice using the --email option.

       With the --catch option you can specify a regular expression which will
       be  matched  against  the contents of the PageTop settings. The regular
       expression should return a value into $1 and  possibly  into  $2.  This
       will  then  be  used as description for the appropriate traffic sum. By
       default the catch is set to:

       (?:description|port name):</td><td>([^< ]*?[^<]*?)</td

       By default only traffic which is over 500 gigabytes gets reported.  Use
       the --min switch to change this number.

AUTHOR
       Tobias Oetiker <tobi@oetiker.ch>

ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +-----------------------------+-----------------------------+
       |      ATTRIBUTE TYPE         |      ATTRIBUTE VALUE        |
       +-----------------------------+-----------------------------+
       |Availability                 |diagnostic/mrtg              |
       +-----------------------------+-----------------------------+
       |Interface Stability          |Uncommitted                  |
       +-----------------------------+-----------------------------+
       |Standard                     |See standards(7).            |
       +-----------------------------+-----------------------------+


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | diagnostic/mrtg  |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+
SEE ALSO
       mrtg(1),   mrtg-reference(1),   mrtg-logfile(1),   cfgmaker(1),  index-
       maker(1), rateup(1)

NOTES
       Source for mrtg-traffic-sum is available on http://opensolaris.org.


       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source                was                downloaded                from
       https://oss.oetiker.ch/mrtg/pub/mrtg-2.17.4.tar.gz

       Further information about this software can be found on the open source
       community website at https://oss.oetiker.ch/mrtg.



Solaris 11.4                      9 Jan 2009               mrtg-traffic-sum(1)