Python package requirements:- matplotlib==3.3.1 numpy==1.19.1 pandas==1.1.1
Linux/Unix package requiremnts:- -sysstat v11.6 or more -sed -tr
-
export system activity file of any particular day. The default path is /var/log/sysstat/sarN
If you want to manually convert the saXX file to sarXX run command below:- LC_ALL=C will give 24 hourformat time stamp in output
LC_ALL=C; sar -A -t -f /var/log/sysstat/sa14 > /tmp/sar14
-
download /tmp/sar14 to your local storage path eg. /home/Johndoe/sar14
-
git clone https://github.com/sherpaurgen/chartsystat
3.1 - edit chart.sh to specify your python path
3.2 - chmod +x chart.sh
3.3 - bash chart.sh /home/Johndoe/sar14
Execution of chart.sh will generate sys_report.pdf in your script's directory. you can playaround with sysstat file inside sysstat directory