You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

561 B

sargraph

This is a simple python tool that uses sysstat (sar) to plot cpu and ram usage.

Best used with screen:

$ screen -dmSL chart python sargraph.py
$ sleep 1
$ screen -S chart -X stuff "label1\n"
$ sleep 1
$ screen -S chart -X stuff "label2\n"
$ sleep 1
$ screen -S chart -X stuff "q\n"
$ sleep 3

Or just:

$ python sargraph.py
# wait 1 sec
# type label1\n
# wait 1 sec
# type label2\n
# wait 1 sec
# type q\n
# wait until sargraph generates plot.png

(c) 2019 Antmicro <www.antmicro.com>

Licensed under Apache License.