Skip to content

DwyaneShi/Visar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visar

Tool for visualizing SAR logs.

How To Use

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

Example Commands

# 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

Example Visualization

cpu mem io net paging dev

About

Tool for visualizing SAR logs. Vairation of python-sarviz (https://github.com/milinda/python-sarviz).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages