Giter Site home page Giter Site logo

rbonghi / jetson_stats Goto Github PK

View Code? Open in Web Editor NEW
2.1K 33.0 257.0 29.63 MB

๐Ÿ“Š Simple package for monitoring and control your NVIDIA Jetson [Orin, Xavier, Nano, TX] series

Home Page: https://rnext.it/jetson_stats

License: GNU Affero General Public License v3.0

Shell 9.14% Python 90.69% Dockerfile 0.18%
nvidia jetson jetson-xavier jtop tegrastats cpu-monitoring gpu-monitoring tegra memory-monitoring jetson-nano

jetson_stats's Introduction

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 [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

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

sudo pip3 install -U jetson-stats

Don't forget to logout/login or reboot your board

๐Ÿš€ That's it! ๐Ÿš€

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 ๐Ÿ‘‹

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.