nvtop icon indicating copy to clipboard operation
nvtop copied to clipboard

Include all available metrics in scripting output

Open LukeLR opened this issue 9 months ago • 1 comments

Hi everyone,

#358 is actually really awesome - just today I thought about writing a prometheus exporter for GPU metrics using nvtop, as my current exporter based on radeontop is not able to provide power metrics, and now I see that this has just been merged 5 days ago. Thanks for the great work!

However, the scripting output doesn't provide all information nvtop has available. For example, the memory usage is only given in percent, the actual memory size of the card is not given. PCIe stats are also omitted. Would it make sense to add these metrics to the scripting output as well?

Thanks!

LukeLR avatar Mar 27 '25 12:03 LukeLR

I second this! I just spent hours to try to get the actual memory usage rather then the percentage into my Conky. I want to use nvtop because nvidia-smi causes lag in my entire system whenever it's queried while nvtop does not. Also the way the memory usage is calculated differs significantly between nvidia-smi and nvtop (i.e. nvidia-smi shows 0.40G usage and nvtop 9% of 8GB total in my 3060 Ti which obviously doesn't add up. I found some explanation but disregard for now, different topic)

Anyhow...my motivations aside: that would be great to have 🙂

Kellsen avatar Apr 11 '25 00:04 Kellsen