Code Monkey home page Code Monkey logo

jetson_stats's Introduction

Jetson stats

PyPI - Downloads PyPI version PyPI - Python Version PyPI - Format

Build Docs Publish

jetson-stats is a package to monitoring and control your NVIDIA Jetson [Xavier NX, Nano, AGX Xavier, TX1, TX2] Works with all NVIDIA Jetson ecosystem.

When you install jetson-stats are included:

Read the Wiki for more detailed information or read the package documentation.

Install

sudo -H pip install -U jetson-stats

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

PS: Don't forget to reboot your board

You can run jtop in your python script read here

It is a system monitoring utility that runs on the terminal and see and control realtime the status of your NVIDIA Jetson. CPU, RAM, GPU status and frequency and other...

The prompt interface will be show like this image, now clickable!: jtop

You can run the jtop simple using a simple command jtop

YES! Sudo is not more required!

nvidia@jetson-xavier-nx:~/$ jtop

Other options are available with -h option:

nvidia@jetson-xavier-nx:~/$ jtop -h
usage: jtop [-h] [--no-warnings] [--restore] [--loop] [-r REFRESH] [-p PAGE]
            [-v]

jtop is system monitoring utility and runs on terminal

optional arguments:
  -h, --help            show this help message and exit
  --no-warnings         Do not show warnings (default: False)
  --restore             Reset Jetson configuration (default: False)
  --loop                Automatically switch page every 5s (default: False)
  -r REFRESH, --refresh REFRESH
                        refresh interval (default: 500)
  -p PAGE, --page PAGE  Open fix page (default: 1)
  -v, --version         show program's version number and exit

You can change page using left, right arrow or TAB to change page.

Pages

jtop have four different pages to control your NVIDIA Jetson:

  1. ALL Are collected all information about your board: CPUs status, Memory, GPU, disk, fan and all status about jetson_clocks, NVPmodel and other
  2. GPU A real time GPU history about your NVIDIA Jetson
  3. CPU A real time CPU plot of NVIDIA Jetson
  4. MEM A real time Memory chart and swap monitor
  5. CTRL Enable/Disable jetson_clocks, nvpmodel or fan directly from here
  6. INFO All information about libraries, CUDA, Serial Number, interfaces, ...

Controls

To control the your NVIDIA Jetson are available this keyboard commands:

In page 3 MEM:

  • c Clear cache
  • s Enable/Disable extra swap
  • + and - Increase and decrease swap size

In page 4 CTRL:

  • a Start/Stop jetson_clocks service (Note: jetson_clocks start only after 60s from up time)
  • e Enable/Disable jetson_clocks on board boot
  • + and - Increase and decrease the NVPmodel
  • f Manual/jetson_clocks mode for your fan
  • p and m Increase and decrease the Fan speed

Check jetson-stats health, enable/disable desktop, enable/disable jetson_clocks, improve the performance of your wifi are available only in one click using jetson_config

jetson_config

The command show the status and all information about your NVIDIA Jetson

jtop

Simple manager to switch on and switch off a swapfile in your jetson.

nvidia@jetson-nano:~/$ sudo jetson_swap -h
usage: createSwapFile [[[-d directory ] [-s size] -a] | [-h] | [--off]]
  -d | --dir    <directoryname> Directory to place swapfile
  -n | --name   <swapname> Name swap file
  -s | --size   <gigabytes>
  -a | --auto   Enable swap on boot in /etc/fstab 
  -t | --status Check if the swap is currently active
  --off         Switch off the swap
  -h | --help   This message

When you install jetson-stats in your bash will be available a list of new environment variables to know which which hardware version is available are you working, which Jetpack is installed and other variable show below

jtop

jetson_stats's People

Contributors

rbonghi avatar alx avatar danielef avatar kitazaki avatar jthibbard avatar griz1112 avatar

Watchers

James Cloos avatar  avatar

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.