Skip to content

sara-nl/dcgmi_top

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dcgmi_top

dcgmi display similar to nvtop

img.png

How to run

Set the list of metrics you want as a comma separated string. Set the list of gpus you want as a comma separated string. Set the refresh rate if you want quicker updates.

It might crash randomly if dcgmi throws an exception.

python dcgmi_top.py --metrics SMOCC,DRAMA --refresh_rate=1000

Help output

usage: dcgmi_top.py [-h] [--gpus GPUS] [--metrics METRICS] [--refresh_rate REFRESH_RATE]
                    [--theme THEME]

options:
  -h, --help            show this help message and exit
  --gpus GPUS           Comma-separated gpu id list
  --metrics METRICS     Comma-separated metrics list. Possible values: ['GPUTL', 'MCUTL',
                        'GRACT', 'SMACT', 'SMOCC', 'TENSO', 'DRAMA', 'PCITX', 'PCIRX',
                        'NVLTX', 'NVLRX', 'POWER']
  --refresh_rate REFRESH_RATE
                        Refresh rate.
  --theme THEME         Available plot themes https://github.com/piccolomo/plotext/blob/master
                        /readme/aspect.md#themes

Future

  • Fix the aspect ratio being broken for the plotext+curses integration
  • Fix random dcgmi errors breaking entire plot
  • Fetch max wattage from GPU and set X/Y scale on startup.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages