Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 706 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 706 Bytes

python-sarviz

Tool for visualizing SAR logs.

This is an extension of python-sar. So this doesn't support SAR binary files, but only ASCII files. You can convert SAR binary files to ASCII files using following command.

sar -A -f <sar_binary_log> > <sar_data.txt>

How To Use

from sar import parser
from sar import viz

insar = parser.Parser('./data/sample.log')
sar_viz = viz.Visualization(insar.get_sar_info(), paging=True, network=True, disk=True)
sar_viz.save('sample.pdf')

Example Visualization

sarviz