gpustat icon indicating copy to clipboard operation
gpustat copied to clipboard

Add an option to hide card name, temperature, etc.

Open innerlee opened this issue 5 years ago • 5 comments

pls add option to disable card type and temperature.

innerlee avatar Sep 13 '18 16:09 innerlee

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.)

wookayin avatar Sep 13 '18 20:09 wookayin

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.

Stonesjtu avatar Sep 14 '18 04:09 Stonesjtu

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 avatar Sep 15 '18 20:09 neighthan

@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.

wookayin avatar Sep 15 '18 20:09 wookayin

Hiding gpu name is now possible with gpustat --gpuname-width 0 (#47). Hiding other columns will be added in the next versions.

wookayin avatar Sep 04 '22 23:09 wookayin