Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 9462  / 3 Years ago, sun, october 24, 2021, 11:15:38

How do mesure gpu temp in conky.



Found this code:



${voffset 7}${goto 40}${voffset -4}Gpu: ${font Droid Sans:style=Bold:size=8}${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (d+)./;'}°C${font}${alignr}Motherboard


But this onely gives the result 0 rpm.



so what to do


More From » conky

 Answers
7

If your version of Conky has not been installed with --enable-nvidia the easiest syntax would involve the following:



${execi 60 nvidia-settings -query [gpu:0]/GPUCoreTemp -t}°C


This would vary of course if you had more than one GPU installed. To see all of the available settings and GPUs run the following:



nvidia-settings -query all > all_nvidia_settings


and then open the file all_nvidia_setings with gedit...


[#25787] Tuesday, October 26, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
byishted

Total Points: 469
Total Questions: 113
Total Answers: 113

Location: Tajikistan
Member since Sun, Aug 29, 2021
3 Years ago
;