Skip to content

Parse the sysstat log to visualize the system health metrics

Notifications You must be signed in to change notification settings

sherpaurgen/chartsystat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. 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

  2. download /tmp/sar14 to your local storage path eg. /home/Johndoe/sar14

  3. 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 image

About

Parse the sysstat log to visualize the system health metrics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published