Skip to main content

Interactive system-monitor and process viewer for all NVIDIA Jetson [Thor, Orin, Xavier, Nano, TX] series

Project description

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 👋

Project details


Release history Release notifications | RSS feed

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.0.tar.gz (159.0 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.0-py3-none-any.whl (193.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jetson_stats-7.2.0.tar.gz
  • Upload date:
  • Size: 159.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jetson_stats-7.2.0.tar.gz
Algorithm Hash digest
SHA256 b28e0eba26b96d56a610cbbfbcb5d3d2b74ce22c70d9f4d1b090f7f5f9ff44b9
MD5 08839e15807fb8e8a4e92fc87e49b151
BLAKE2b-256 3085244caad73562b98c92fedb79d51d41847f3f2b1a78949d99bc5321cba4ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for jetson_stats-7.2.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: jetson_stats-7.2.0-py3-none-any.whl
  • Upload date:
  • Size: 193.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jetson_stats-7.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 949a65c5424a2ccf203e37811ed30fd21cdfb2dfbaa8c6fdb3c7c345c3d8ed03
MD5 ea75bc606597be14e6fb20d930633603
BLAKE2b-256 9df6237a3e05781bd67cf6473b579bd5edd4cd73f98e4b63ac64c0b6c2232535

See more details on using hashes here.

Provenance

The following attestation bundles were made for jetson_stats-7.2.0-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.

Supported by

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