No project description provided
Project description
VizQ
Description
Tool to create plots based on CPU, GPU and memory usage.
Installation
pip install -U vizq
Usage
You can see the options of this project by doing python -m vizq --help
usage: __main__.py [-h] [-f FILES] [-m MEMORY] [-o OUTPUT] [-t TITLE] [-x X_LABEL] [-y Y_LABEL] [-of OFFSET] [--x-range X_RANGE X_RANGE] [-omu {kb,mb,gb}] [-xt X_TICK]
optional arguments:
-h, --help show this help message and exit
-f FILES, --file FILES
File or files to process. Can specify multiple with: "-f file1.log -f file2.log"
-m MEMORY, --memory MEMORY
Total memory size, expected when values are percentages.
-o OUTPUT, --output OUTPUT
Path of output files.
-t TITLE, --title TITLE
Title to use in the plot
-x X_LABEL, --xlabel X_LABEL
X axis label to use in the plot
-y Y_LABEL, --ylabel Y_LABEL
Y axis label to use in the plot
-of OFFSET, --offset OFFSET
Offset line to draw on the chart
--x-range X_RANGE X_RANGE
Start and end of the x axis range to plot
-omu {kb,mb,gb}, --output-memory-unit {kb,mb,gb}
memory unit to use between [kb, mb, gb], default is mb. Assume unit is KB by default.
-xt X_TICK, --xtick X_TICK
will add a tick on the X axis every n values. Should pass an Integer value
Examples
Plot specifying chart title and axis title.
python -m vizq.visualization -f device2/211/cpu_use_20231019-123121.log \
--title "CPU Timeline title" \
--xlabel "new X axis label" \
--ylabel "new Y axis label"
Use the offset, X axis range and memory unit example.
--offset draws an horizontal line at the specified value, would be a fixed line at offset value, not a percentage.
--x-range will just save the portion of the plot for the range [x1, x2]
--output-memory-unit could be one of [kb, mb, gb] and will convert the values in the chart to one of those units.
Default value is kb.
--xtick is drawing a tick on the X axis, so if --xtick 10 is passed, a mark every 10 values in x will be drawned.
python -m vizq.visualization -f device2/211/rss_mem_20231019-123119.log --offset 90 --x-range 50 150 --output-memory-unit mb --xtick 10
Contributing
Instructions on how to contribute to the project
References
Link to references used in the project (Books, posts, videos, courses, repos, etc.)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vizq-0.5.0.tar.gz.
File metadata
- Download URL: vizq-0.5.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a6e1ba5e4ed7c6f394c322d8b72bc9cf2c5025cf2a0d4674e76e4a5b553615a
|
|
| MD5 |
a523564baf24e3a3c0b9985eef2640ed
|
|
| BLAKE2b-256 |
2c7e8678445b0752fd3310db51be0e74cbf74d43ea01686088d0dbd5a147dd84
|
File details
Details for the file vizq-0.5.0-py3-none-any.whl.
File metadata
- Download URL: vizq-0.5.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3060e728a8dad0a6c13767acb35f5ac591e07d85ce95d8af1009a59fdcbbbaf7
|
|
| MD5 |
3f3a198ebe8e7d157cc2b81ba6084d61
|
|
| BLAKE2b-256 |
db42805b8dc8f986700072ffd0c50d0a4e0d9e86060fae4b27f0533aedf7d143
|