Add an option to hide card name, temperature, etc.
pls add option to disable card type and temperature.
We may consider the following flags. @Stonesjtu Please suggest better names if any.
--no-name Suppress graphics card name
--no-temperature Suppress temperature information
--no-process Suppress process information
Thoughts
- Are they consistent with
--show-power, etc? - Or, we can think of listing all the columns to display (as in
nvidia-smi --query-gpu, etc.)
Prefer a list-like argument e.g. --show power, name, temp, which overwrites other displaying options. But it's still confusing with the existing -cpu arguments, the latter one is for extra information.
It would be nice to have a full-on format string like, e.g., git log does so the user could specify which gpu parameters to show, in which order, with which colors.
@neighthan That's a very good idea. As this is a major new feature rather than a simple improvement, I'd like to keep track in #51. Still, more handy options (as proposed in this ticket) could work as well.
Hiding gpu name is now possible with gpustat --gpuname-width 0 (#47). Hiding other columns will be added in the next versions.