Skip to content

Commit

Permalink
example visualization
Browse files Browse the repository at this point in the history
  • Loading branch information
milinda committed Aug 23, 2016
1 parent 9248970 commit e580809
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is an extension of [python-sar](https://github.com/casastorta/python-sar).
sar -A -f <sar_binary_log> > <sar_data.txt>
```

## Example
## How To Use

```python
from sar import parser
Expand All @@ -18,3 +18,7 @@ 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](https://raw.githubusercontent.com/milinda/python-sarviz/master/sample.png)

0 comments on commit e580809

Please sign in to comment.