Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Power Monitoring for a Docker Container #574

Open
nee1k opened this issue Sep 27, 2024 · 3 comments
Open

Power Monitoring for a Docker Container #574

nee1k opened this issue Sep 27, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@nee1k
Copy link

nee1k commented Sep 27, 2024

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.

@nee1k nee1k added the enhancement New feature or request label Sep 27, 2024
@rbonghi
Copy link
Owner

rbonghi commented Sep 27, 2024

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
Copy link
Author

nee1k commented Sep 27, 2024

Thank you for replying.

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

@rbonghi
Copy link
Owner

rbonghi commented Dec 19, 2024

The power consumption is from the whole Jetson. jtop reading the internal sensors of the board

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants