Py_Monitor_JetsonTX2
About
Optimisation has become a need of the hour. Gpu usage, CPU usage, GPU temperature, CPU temperature, Power comsumption are a great indicator of how a process can be optimised further. This project allows you to run a process analysing algorithm in a parallel thread while you are running your block of code in python that needs to be monitored. A graph will be generated once the process completes and will be saved in the same folder as your python script.
For source code
This the my Github repo. Contact me for support and PRs are welcome.
Usage
- Pip install the package.
$ pip3 install Py-Monitor-JetsonTX2
- NOTE : Please note that the package is specific to NVIDIA JETSON TX2.
The use of package will result in an image and a txt file in the same directory as your python code.
Syntax
- Import the library.
>> import Py_Monitor_JetsonTX2 as pm
- Create an object of the class, pm.Analyser(). Say,
analyser.
>> analyser = pm.Analyser()
- Now place a start trigger at that point in your code where you want to start recording the resources being used
>> analyser.start_recording()
- NOTE : This initiates another thread parallel to the script that is being executed.
- Once the process you want to monitor is over place another trigger telling the package to stop monitoring resource consumption.
>> analyser.stop_recording()
- Once the code completes execution you can return to your directory where the python code resides to find a PNG that shows the GPU usage, CPU usage, GPU temperature, CPU temperature and Power consumption stats of the code that lies within
start_recording() and stop_recording()
LICENSE
Metadata
Release files for Py-Monitor-JetsonTX2 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Py_Monitor_JetsonTX2-0.1.2.tar.gz | 3.5 kB | Without provenance | Details for Py_Monitor_JetsonTX2-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Py_Monitor_JetsonTX2-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for Py_Monitor_JetsonTX2-0.1.2-py3-none-any.whl |
Total release size: 6.5 kB
Release files / Py_Monitor_JetsonTX2-0.1.2.tar.gz
| Download URL | Py_Monitor_JetsonTX2-0.1.2.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1820396d8ee81096a2d6cc73d3a613657cfb03c9f32c6abbae847322429e143
|
|
BLAKE2b-256 checksum How to use checksums |
f6e5ae5fa52ff65d91ac0f72a667e355ce6e952564a125f0b300ed180e9c862b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
|
Release files / Py_Monitor_JetsonTX2-0.1.2-py3-none-any.whl
| Download URL | Py_Monitor_JetsonTX2-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
897fe4c95046fb4e1ac52c47f6fa05b46dd482df3603f604b3a0ffa60107da86
|
|
BLAKE2b-256 checksum How to use checksums |
d6fc13e89abf77dfb5021e5122bb178d1032ee828dae0c820e5e19931b2b80d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
|
Security for Py-Monitor-JetsonTX2 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.