mirror of
https://github.com/minoplhy/scriptbox.git
synced 2024-12-05 01:46:57 +00:00
sysstat_webhook : treat as sar option
This commit is contained in:
parent
83b3e4ec2a
commit
9b66234057
@ -36,7 +36,7 @@ function graph_gen {
|
||||
POSTSVG=$MAKE_DIR/sysstat_"$2"_data.svg
|
||||
POSTPNG=$MAKE_DIR/sysstat_"$2"_data.png
|
||||
|
||||
/usr/bin/sadf -g ${EXPANSION[@]} -O skipempty,packed -- $1 > $POSTSVG
|
||||
/usr/bin/sadf -g -O skipempty,packed -- $1 ${EXPANSION[@]} > $POSTSVG
|
||||
svg_to_png $POSTSVG $POSTPNG
|
||||
Process $POSTPNG
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user