Skip to main content

jetson-stats

jetson-stats

PyPI - Downloads PyPI version PyPI - Python Version PyPI - Format GitHub jetson-stats Docker Image Size (tag) Docker Pulls CI & CD CodeQL

Twitter Follow robo.panther Join our Discord

jetson-stats is a package for monitoring and control your NVIDIA Jetson [Thor, Orin, Xavier, Nano, TX] series.

jetson-stats is a powerful tool to analyze your board, you can use with a stand alone application with jtop or import in your python script, the main features are:

  • Decode hardware, architecture, L4T and NVIDIA Jetpack
  • Monitoring, CPU, GPU, Memory, Engines, fan
  • Control NVP model, fan speed, jetson_clocks
  • Importable in a python script
  • Dockerizable in a container
  • Do not need super user
  • Tested on many different hardware configurations
  • Works with all NVIDIA Jetpack

Install

sudo apt update
sudo apt install python3-pip python3-setuptools -y

Option 1: jetson-stats can be installed with pip, but need superuser:

sudo pip3 install -U jetson-stats

Option 2: Install directly from GitHub

sudo pip3 install git+https://github.com/rbonghi/jetson_stats.git

Option 3: Ubuntu 24.04

sudo pip3 install --break-system-packages -U jetson-stats

or

sudo pip3 install --break-system-packages git+https://github.com/rbonghi/jetson_stats.git

Option 4: Run jtop with or without sudo, and install without --break-system-packages

This installation method works on all Jetson Developer Kits. NOTE: For Jetson AGX Thor Dev Kit follow this

sudo -v
curl -LsSf https://raw.githubusercontent.com/rbonghi/jetson_stats/master/scripts/install_jtop_torun_without_sudo.sh | bash

Upgrade jtop

sudo -v
curl -LsSf https://raw.githubusercontent.com/rbonghi/jetson_stats/master/scripts/upgrade-jtop.sh | bash

Run

Start jtop it's pretty simple just write jtop!

jtop

A simple interface will appear on your terminal, more capabilities are documented at jtop page.

jtop

Library

You can use jtop such a python library to integrate in your software

from jtop import jtop

with jtop() as jetson:
    # jetson.ok() will provide the proper update frequency
    while jetson.ok():
        # Read tegra stats
        print(jetson.stats)

You can also use jtop with your virualenv!

More information available at advanced usage page.

Docker

You can run directly in Docker jtop, you need only to:

  1. Install jetson-stats on your host
  2. Install jetson-stats on your container as well
  3. Pass to your container /run/jtop.sock:/run/jtop.sock

You can try running this command

docker run --rm -it -v /run/jtop.sock:/run/jtop.sock rbonghi/jetson_stats:latest

More information available at docker documentation page.

Sponsorship

If your company benefits from this library, please consider 💖 sponsoring its development.

Documentation

jetson-stats has usage and reference documentation at https://rnext.it/jetson_stats, there is also a 🆘 troubleshooting page.

Community

jetson-stats has a community Discord channel for asking questions and collaborating with other contributors. Drop by and say hello 👋

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jetson_stats-7.2.1.tar.gz (165.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jetson_stats-7.2.1-py3-none-any.whl (197.9 kB view details)

Uploaded Python 3

File details

Details for the file jetson_stats-7.2.1.tar.gz.

File metadata

  • Download URL: jetson_stats-7.2.1.tar.gz
  • Upload date:
  • Size: 165.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for jetson_stats-7.2.1.tar.gz
Algorithm Hash digest
SHA256 90f74f817a2327d001fc0e9e2a348b78b048b718567a4236b3207a6b756f4d0f
MD5 382ad85d0edf9c52262211a29a0219e4
BLAKE2b-256 32a6b59d5818a83edb5515d6d0989e0413261a7b5d665f273758960b57ee6f3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for jetson_stats-7.2.1.tar.gz:

Publisher: publish.yml on rbonghi/jetson_stats

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jetson_stats-7.2.1-py3-none-any.whl.

File metadata

  • Download URL: jetson_stats-7.2.1-py3-none-any.whl
  • Upload date:
  • Size: 197.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for jetson_stats-7.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d2e13c09628a785c7d94f1daab9cc22b32cab90d2489ae1ef4d8a274cc7c2de
MD5 439dde46c7125a440037ecd39c1d0f79
BLAKE2b-256 65a19e4e9f725d96b5022e5ae746bac71809113170ef564e36a95bfa7928822c

See more details on using hashes here.

Provenance

The following attestation bundles were made for jetson_stats-7.2.1-py3-none-any.whl:

Publisher: publish.yml on rbonghi/jetson_stats

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

7.2.1 This release

2 files

7.2.0

2 files

4.3.2

1 file

4.3.1

1 file

4.3.0

1 file

4.2.12

1 file

4.2.11

1 file

4.2.10

1 file

4.2.9

1 file

4.2.8

1 file

4.2.7

1 file

4.2.6

1 file

4.2.5

1 file

4.2.4

1 file

4.2.3

1 file

4.2.2

1 file

4.2.1

1 file

4.2.0

1 file

4.1.5

1 file

4.1.4

1 file

4.1.3

1 file

4.1.2

1 file

4.1.1

1 file

4.1.0

1 file

4.0.0

1 file

3.1.4

1 file

3.1.3

1 file

3.1.2

1 file

3.1.1

1 file

3.1.0

1 file

3.0.3

1 file

3.0.2

1 file

3.0.1

1 file

3.0.0

1 file

2.1.0

1 file

2.0.4

1 file

2.0.3

1 file

2.0.2

1 file

2.0.1

1 file

2.0.0

1 file

1.8.3

1 file

1.8.2

1 file

1.8.1

1 file

1.8.0

1 file

1.7.11

1 file

1.7.10

1 file

1.7.9

1 file

1.7.8

1 file

1.7.7

1 file

1.7.6

1 file

1.7.5

1 file

1.7.4

1 file

1.7.3

1 file

1.7.2

1 file

1.7.1

1 file

1.7.0

1 file

1.6.13

1 file

1.6.12

1 file

1.6.11

1 file

1.6.10

1 file

1.6.9

1 file

1.6.8

1 file

1.6.7

1 file

1.6.6

1 file

1.6.5

1 file

1.6.4

1 file

1.6.3

1 file

1.6.2

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page