Checking GPU/DLA utilization/stats (Solved)

What is the nvidia-smi equivalent for Jetson AGX ?

The GPU on Jetsons are integrated directly to the memory controller. “nvidia-smi” requires a PCI interface…thus “nvidia-smi” is not compatible with a Jetson. On the other hand, if you have some specific goal you wish to accomplish, then a use-case might allow someone to answer a workaround.

I want to monitor GPU usage

Hi dhingratul, please use the tegrastats utility on Jetson.

Start it running as:

sudo ~/tegrastats

Is there a wrapper that makes tegrastats more readable?

Another user has created gtop, but not sure if it’s been tested with Xavier.
[url]https://devtalk.nvidia.com/default/topic/1005519/jetson-tx1/tegrastats-visualization/[/url]

Also if you run tegrastats without sudo privilege, it will print out less info.

I tried gtop, doesnt work with Xavier

Good question: Does the source code of “tegrastats” available ? That would really great if you want to build a middleware tuning for Xavier.

Cheers!
Francois

1 Like

Hi Francois, the source isn’t public, but you can easily read the same files that tegrastats does to get the info. Please refer to this post for more info:

https://devtalk.nvidia.com/default/topic/1049939/jetson-nano/feature-request-query-like-usage-for-tegrastats-command/post/5328819/#5328819

Does those unix registers work on QNX too ?

Try installing jtop. It works for visualizing pretty much all the out-of-the-box hardware and works right in the terminal. Install it by running:

sudo python3 -m pip install jetson-stats

Then, running the “jtop” command should work. You should be able to see information about CPU, GPU, and memory usage, and there are other configurations you can do from within the application