Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rjarry/sosviz
Collect information from an sos report folder and export it in other formats.
https://github.com/rjarry/sosviz
Last synced: 3 months ago
JSON representation
Collect information from an sos report folder and export it in other formats.
- Host: GitHub
- URL: https://github.com/rjarry/sosviz
- Owner: rjarry
- License: other
- Created: 2024-04-12T15:05:44.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-11T13:03:48.000Z (3 months ago)
- Last Synced: 2024-10-11T13:15:42.521Z (3 months ago)
- Language: Python
- Homepage:
- Size: 680 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sosviz
Extract information from [`sos`](https://github.com/sosreport/sos) reports and
export it in other formats.## Installation
```
pip install --user sosviz
```System dependency to [`dot`](https://command-not-found.com/dot) from the
[`graphviz`](https://graphviz.org/) package.## Usage
```
usage: sosviz [-h] [-V] [-d] [-f {dot,text,json,svg}] PATHCollect information from an sos report folder and export it in other formats
on standard output.positional arguments:
PATH Path to an uncompressed sos report folder.options:
-h, --help show this help message and exit
-V, --version Show version and exit.
-d, --debug Show debug info.
-f {dot,text,json,svg}, --format {dot,text,json,svg}
Output format (default: svg).
```Examples:
```
sosviz ~/tmp/sosreport > example.svg
``````
sosviz -f dot ~/tmp/sosreport | dot -Tpng > example.png
``````
sosviz --debug -f json ~/tmp/sosreport | jq -C | less -R
```## Example SVG output
![example.svg](https://raw.githubusercontent.com/rjarry/sosviz/main/example.svg)