Projet

Général

Profil

Révision 21572e11

ID21572e11a5d35e6a33e3744bbca91745f76b214e
Parent 49b79ca2
Enfant a8dca907

Ajouté par Nye Liu il y a environ 9 ans

Add the documentation in to the script. Should have gone with previous commit.

Voir les différences:

plugins/network/tc_
1 1
#!/bin/sh
2 2
# -*- sh -*-
3
#
4
# This plugin is based on the if_ plugin.
5
#
6
# Parameters
7
#     None
8
#
9
# Magic markers (optional - used by munin-config and some installation
10
# scripts):
11
#
12
#%# family=auto
13
#%# capabilities=autoconf suggest
14 3

  
4
: << =cut
5

  
6
=pod
7

  
8
=encoding UTF-8
9

  
10
=head1 NAME
11

  
12
tc_ - Plugin to monitor traffic control queue class bandwidth usage
13

  
14
=head1 CONFIGURATION
15

  
16
None needed.
17

  
18
=head1 INTERPRETATION
19

  
20
Traffic control is the name given to the sets of queuing systems and mechanisms by which packets are received and transmitted on a router. This includes deciding which (and whether) packets to accept at what rate on the input of an interface and determining which packets to transmit in what order at what rate on the output of an interface.
21

  
22
This plugin monitors the bandwidth used by each queue class. The root class will draw as a single line, whereas children will be drawn in a stacked graph. Complex hierarchies which have more than the root and its direct children are not fully supported and may not render correctly.
23

  
24
=head1 SEE ALSO
25

  
26
"man tc" and "tc -s class show dev <interface>" to get more information about tc and to see the format of the statistics being parsed.
27

  
28
=head1 MAGIC MARKERS
29

  
30
 #%# family=auto
31
 #%# capabilities=autoconf suggest
32

  
33
=head1 AUTHORS
34

  
35
Steve Schnepp <steve.schnepp@gmail.com>,
36
Samuel Smith <esaym@cpan.org>,
37
Nye Liu <nyet@nyet.org>
38

  
39
=head1 LICENSE
40

  
41
GPLv2 or later
42

  
43
=cut
15 44

  
16 45
DEVICE=${0##*/tc_}
17 46

  

Formats disponibles : Unified diff