Tool for visualizing SAR logs.
Usage: python visar.py <type> <input_file> <output_pdf>
type: should be one of "cpu", "mem", "io", "net", "paging" and "dev"
input_file: the ascii log file generated by sar command
output_pdf: path for output pdf file
# sar -P ALL > cpu.out
python visar.py cpu cpu.out cpu.pdf
# sar -r > mem.out
python visar.py mem mem.out mem.pdf
# sar -b > io.out
python visar.py io io.out io.pdf
# sar -n DEV > net.out
python visar.py net net.out net.pdf
# sar -B > paging.out
python visar.py paging paging.out paging.pdf
# sar -d -p > dev.out
python visar.py dev dev.out dev.pdf