nvtop icon indicating copy to clipboard operation
nvtop copied to clipboard

Feature request: add loop mode for --snapshot

Open DirtYiCE opened this issue 5 months ago • 1 comments

Normal top has -b (and -d) to have it print info to stdout periodically, nvidia-smi has --loop to do the same, could nvtop's snapshot gain the same functionality? (And maybe have it output a single line for easier interop with line based tools). It would save me from spawning a new process and doing all the initialization logic periodically (which is especially painful on nvidia cards, where a single nvtop -s run can take 1.5 seconds with ~80% SYS CPU usage during that period).

DirtYiCE avatar Sep 01 '25 11:09 DirtYiCE

Also, this would fix Intel GPU stats not being reported. They work fine in the regular view but init with N/A, which is reflected in snapshot mode by null.

Image

Might be a subject for a different issue though, that being said it would help for this usage right now without having to do anything special for Intel.

EDIT: Seems like this is related to https://github.com/Syllo/nvtop/issues/371, sorry for double-posting!

busybox11 avatar Sep 02 '25 14:09 busybox11