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

[Feature Request] Cli dump of current processes and their gpu stats #336

Open
MostHated opened this issue Nov 29, 2024 · 0 comments
Open

Comments

@MostHated
Copy link

MostHated commented Nov 29, 2024

Hey there, it would be super helpful if there was a way to run this as a one-off to simply dump out the current processes and their GPU usage stats without the need for any GUI. Unfortunately, I am having a 'more difficult than it should be' time trying to get this details from my AMD card. Obviously there is a way to do it, since it exists in this app. If there could be something along the lines of the following that would be awesome.

# Dump top 5 highest GPU memory processes
nvtop --lines 5 --type memory --output filename.txt

# Return from stdout top 3 processes in terms of GPU utilization %
RESULTS=$(nvtop -l 3 -t utilization -)

Thanks,
-MH

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

No branches or pull requests

1 participant