Projet

Général

Profil

Révision afe87e90

IDafe87e904e7a78d7a994969ece91c2c8c02bd7b1
Parent 31bedc08
Enfant 234a753f

Ajouté par Nye Liu il y a environ 9 ans

Cosmetic whitespace uniformity

Voir les différences:

plugins/network/tc_
37 37
                   gsub(/^ +/,"",a[1]);
38 38
                   if (($2 > 0) || ($10 > 0)) print a[1]; }' /proc/net/dev
39 39

  
40
# 	    egrep '^ *(eth|tap|bond|wlan|ath|ra|sw)[0-9]+:' /proc/net/dev | cut -f1 -d: | sed 's/ //g'
40
#	    egrep '^ *(eth|tap|bond|wlan|ath|ra|sw)[0-9]+:' /proc/net/dev | cut -f1 -d: | sed 's/ //g'
41 41
	fi
42 42
	exit 0
43 43
	;;
44 44
    config)
45
		       
46 45
	echo "graph_order `mytc $DEVICE | awk '{ print $2 "_" $3 }' | tr "\n" " "`"
47 46
	echo "graph_title $DEVICE TC traffic"
48
        echo 'graph_args --base 1000'
49
        echo 'graph_vlabel bits per ${graph_period}'
47
	echo 'graph_args --base 1000'
48
	echo 'graph_vlabel bits per ${graph_period}'
50 49
	echo 'graph_category network'
51 50
	echo "graph_info This graph shows the TC classes traffic of the $DEVICE network interface. Please note that the traffic is shown in bits per second, not bytes."
52 51
	

Formats disponibles : Unified diff