rbonghi / jetson_stats

📊 Simple package for monitoring and control your NVIDIA Jetson [Orin, Xavier, Nano, TX] series
https://rnext.it/jetson_stats
GNU Affero General Public License v3.0
2.14k stars 261 forks source link

Power Monitoring for a Docker Container #574

Open nee1k opened 5 days ago

nee1k commented 5 days ago

Is there a way to monitor the power consumption of Docker containers running on Jetson devices using jtop.

I would like jtop to include container-specific power monitoring for CPU and GPU usage.

This feature would help users monitor power usage for containerized AI or edge applications on Jetson devices more efficiently.

rbonghi commented 4 days ago

Hi @nee1k

You can run jtop from Docker

You can try this test:

  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
    docker run --rm -it -v /run/jtop.sock:/run/jtop.sock rbonghi/jetson_stats:latest

More details are here: https://rnext.it/jetson_stats/docker.html

nee1k commented 4 days ago

Thank you for replying.

Does the above method measure the power consumption of the entire jetson or just the docker container?