Skip to content

Monitor GPU usage #1067

Closed Answered by ClementTsang
Mailiax asked this question in Q&A
Mar 14, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

bottom currently supports GPU memory usage for Nvidia GPUs only, though it's behind a runtime flag/option for at least now (--enable_gpu_memory). A GPU usage widget would be nice as well and is a filed issue (#298) that I would love to do when I have more time (or would happily accept PRs for).

As for why not, say, AMD or Intel (yet), it's just down to getting the data. Sysinfo and heim provide nothing related to this. Nvidia GPUs can leverage nvml, for which there are easy Rust bindings for. As for AMD or Intel, I don't know if there are any bindings I can use? If there aren't, I'll have to handle it myself, which is a bit of effort, especially to make things work for all supported platf…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ClementTsang
Comment options

Answer selected by Mailiax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants