Open Ex0danify opened 1 year ago
unfortunately the command want a list of field to show, but this list is different depending on the GPU and i could not find a way to list them.
nvidia-smi --query-gpu=index,temperature.gpu,utilization.gpu,utilization.memory,fan.speed,pstate,power.draw,clocks.sm,clocks.mem,clocks.gr --format=csv -l 1
is the full command , notice i request the data in csv format, as the output as shown would be a pain to parse. If you could post that output, i can try to see if i can fix it somehow
Thanks for the response man, highly appreciated!
Here is the output of the command requested:
index, temperature.gpu, utilization.gpu [%], utilization.memory [%], fan.speed [%], pstate, power.draw [W], clocks.current.sm [MHz], clocks.current.memory [MHz], clocks.current.graphics [MHz]
0, 56, 26 %, 4 %, 34 %, P3, 83.92 W, 1320 MHz, 5001 MHz, 1320 MHz
0, 55, 25 %, 4 %, 34 %, P3, 78.22 W, 1470 MHz, 5001 MHz, 1470 MHz
0, 56, 24 %, 4 %, 34 %, P3, 84.77 W, 1470 MHz, 5001 MHz, 1470 MHz
0, 55, 26 %, 4 %, 34 %, P3, 78.63 W, 1410 MHz, 5001 MHz, 1410 MHz
0, 55, 27 %, 4 %, 34 %, P3, 83.67 W, 1410 MHz, 5001 MHz, 1410 MHz
0, 55, 28 %, 4 %, 34 %, P3, 77.39 W, 1275 MHz, 5001 MHz, 1275 MHz
0, 55, 29 %, 4 %, 34 %, P3, 82.81 W, 1275 MHz, 5001 MHz, 1275 MHz
0, 55, 30 %, 4 %, 34 %, P3, 77.00 W, 1245 MHz, 5001 MHz, 1245 MHz
0, 55, 28 %, 4 %, 34 %, P3, 82.64 W, 1245 MHz, 5001 MHz, 1245 MHz
0, 55, 32 %, 4 %, 34 %, P3, 76.64 W, 1185 MHz, 5001 MHz, 1185 MHz
0, 55, 28 %, 4 %, 34 %, P3, 82.40 W, 1185 MHz, 5001 MHz, 1185 MHz
0, 55, 23 %, 4 %, 34 %, P3, 77.80 W, 1440 MHz, 5001 MHz, 1440 MHz
0, 55, 25 %, 4 %, 34 %, P3, 83.43 W, 1440 MHz, 5001 MHz, 1440 MHz
Hey there, I'm really interested in using your neat little script here. Sadly I am unable to run it, I guess due to a changed output of nvidia-smi.
I also tried the developer branch, same issue there.
System: OS: Manjaro Linux Kernel: 6.1.0-1-MANJARO GPU: Nvidia RTX3080 TI NVIDIA Driver: 520.56.06 Python: 3.10
Script Error:
Output nvidia-smi: