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:
parent
87efe7091b
commit
74aa84d51a
3 changed files with 3 additions and 3 deletions
|
@ -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}'
|
||||
|
|
|
@ -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}'
|
||||
|
|
|
@ -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}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue