Python:
return ["nvidia-smi", "--query-gpu=index,temperature.gpu,utilization.gpu,utilization.memory,fan.speed,pstate,power.draw,clocks.sm,clocks.mem,clocks.gr", "--format=csv", '-l1']
Bash:
nvidia-smi --query-gpu=index,temperature.gpu,utilization.gpu,utilization.memory,fan.speed,pstate,power.draw,clocks.sm,clocks.mem,clocks.gr --format=csv -l1
ERROR: Option -l1 is not recognized. Please run 'nvidia-smi -h' for help.
Put a space in: "-l1". Upstream code looks a lot different and seems to be fixed. Fix is 2 years old. So totally outdated.
Pinned Comments
lesto commented on 2024-03-23 18:53 (UTC)
Please don't flag as out of date unless a newer version is available.
This package can work without ksysguard and expose gpu information in an unified TCP based protocol that people may depends on for their own scripts and/or remote monitoring.