Skip to content

Jetson Power Tools

Some of the boards come with some useful tools that allow for example to monitor power consumption, CPU frequencies etc.

Jetson Power GUI

jetsonpowergui

A screenshot of Jetson Power GUI on the AGX Orin.

A native tool is Jetson Power GUI, which allows to monitor a lot of useful parameters.

To run it via ssh, you need to allow X11 forwarding by including the -X argument in your ssh command.

Then you can run the application with the following command:

sudo python /usr/share/jetsonpowergui/__main__.py

Warning

Note that if you don't run the application as an administrator, the application should start but power monitoring may not work.

Warning

If you get the error X11 connection rejected because of wrong authentication., you need to update the root/.Xauthority file:

To do so, copy the line returned by the command:

$ xauth list $DISPLAY
xxx/unix:10  MIT-MAGIC-COOKIE-1 xxxxxxxxxxxxx

Then, log as root and add the line to .Xauthority via the command xauth add:

$ sudo su
(su) $ xauth add xxx/unix:10  MIT-MAGIC-COOKIE-1 xxxxxxxxxxxxx

Measuring Hardware Counters "by hand"

It is possible to get the measures provided by Jetson Power GUI directly using python running as administrator.

For example, you can do:

# start python as administrator
$ sudo python
# import the jetsonpower lib
>>> from pylibjetsonpower import *
# get the names of the counters of the measurement rail 
>>> rail_get_names()
['VDD_IN', 'VDD_CPU_GPU_CV', 'VDD_SOC']
# print the value of the power counter
>>> rail_get_power('VDD_CPU_GPU_CV')
554

Some other python functions are:

rail_get_warn_current(name)
rail_get_crit_current(name)
rail_get_voltage(name)
rail_get_current(name)
rail_get_power(name)
rail_get_avg_power(name)

Info

You can find other examples of the usage of this library in the code of jetson power GUI, in the directory: /usr/share/jetsonpowergui