1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 18:07:20 +00:00

Remove unneeded sort

Parsed data is already sorted.
This commit is contained in:
Samuel Smith 2016-01-14 22:59:15 -06:00
parent 87efe7091b
commit 74aa84d51a
3 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ case $1 in
;;
config)
echo "graph_order `mytc $DEVICE | awk '{ print $2 "_" $3 }' | sort -n | tr "\n" " "`"
echo "graph_order `mytc $DEVICE | awk '{ print $2 "_" $3 }' | tr "\n" " "`"
echo "graph_title $DEVICE TC traffic"
echo 'graph_args --base 1000'
echo 'graph_vlabel bits per ${graph_period}'

View file

@ -43,7 +43,7 @@ case $1 in
;;
config)
echo "graph_order `mytc $DEVICE | awk '{ print $2 "_" $3 "_drops" }' | sort -n | tr "\n" " "`"
echo "graph_order `mytc $DEVICE | awk '{ print $2 "_" $3 "_drops" }' | tr "\n" " "`"
echo "graph_title $DEVICE TC traffic drops"
echo 'graph_args --base 1000'
echo 'graph_vlabel bits per ${graph_period}'

View file

@ -43,7 +43,7 @@ case $1 in
;;
config)
echo "graph_order `mytc $DEVICE | awk '{ print $2 "_" $3 "_packets" }' | sort -n | tr "\n" " "`"
echo "graph_order `mytc $DEVICE | awk '{ print $2 "_" $3 "_packets" }' | tr "\n" " "`"
echo "graph_title $DEVICE TC traffic packets"
echo 'graph_args --base 1000'
echo 'graph_vlabel bits per ${graph_period}'