sysstat_webhook : treat as sar option

This commit is contained in:
minoplhy 2023-11-02 13:36:52 +07:00
parent 83b3e4ec2a
commit 9b66234057
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF

View File

@ -36,7 +36,7 @@ function graph_gen {
POSTSVG=$MAKE_DIR/sysstat_"$2"_data.svg POSTSVG=$MAKE_DIR/sysstat_"$2"_data.svg
POSTPNG=$MAKE_DIR/sysstat_"$2"_data.png 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 svg_to_png $POSTSVG $POSTPNG
Process $POSTPNG Process $POSTPNG
} }