You are not logged in.
Pages: 1
Testing a conky setup but something seems off with my gpu freq:
imgur link
During this screenshot the gpu was sitting bewteen 30~38 C so why is it giving a larger value than cpu freq?
Last edited by cj360 (2016-04-27 23:19:35)
Offline
Offline
I couldn't figure out how to use
nvidia-settings -q [gpu:0]/GPUCurrentClockFreqs
so I ended up going back to nvidia-smi after finding this page to get easy to read print outs of gpu usage and memory. In this case I found
nvidia-smi -q -g 0 2>&1 | grep -A 2 -i utilization | grep -i gpu | tail -1 | awk '{print $3}' | sed s/\%//g
to print out usage of the gpu. I'm sure nvidia-settings could do the job too but I just found nvidia-smi to be easier.
Offline
nvidia-smi -q -g 0 2>&1 | grep -A 2 -i utilization | grep -i gpu | tail -1 | awk '{print $3}' | sed s/\%//g
That one-liner could be de-uglified just using Awk (untested):
nvidia-smi -q -g 0 2>&1 | awk '/Utilization/ {getline; sub(/%/,""); print $3}'
Offline
Pages: 1