1
I want to show 3 GPU clocks on Conky. I can only find sources online to display one. The Graphics Clock, But as shown in my picture, there's a memory clock, and a processor clock that I'd like to add as well.. Does anyone know the name of the object I have to use to get these 2 items. Here's the line of code for the Graphics clock
Graphics Clock${alignr}${execi 1 nvidia-settings -query GPUCurrentClockFreqs | perl -ne 'print $1 if /GPUCurrentClockFreqs.*?: (\d+)./;'}MHz
I know I have to replace GPUCurrentClockFreqs with something, but I can't find out what it is.
why nvidia memfreq only show half of the real Mhz value? – ggnoredo – 2019-02-23T16:55:56.653
Thank you, this was actually very useful. Unfortunately, I still wasn't able to find the key word I wanted. I tried to grep words like mem, clock, GPU, Curr, and ended up with nothing. There MUST be a way to access this information. I mean the Nvidia-Settings GUI gets it somehow! – Frantumn – 2012-06-06T18:00:06.617
grep
is case-sensitive. If you dogrep clock
you won't get anything. Either usegrep Clock
orgrep -i clock
[the-i
switch makes it case-insensitive]. Also,nvidia-settings -query all|grep Clock
should at least show the value of GPUCurrentClockFreqs – user49740 – 2012-06-06T18:01:21.630Sorry for the misleading comment. I meant I got nothing specific to the memory, and processor clocks. I got results in general, but thank you :) – Frantumn – 2012-06-06T18:08:24.950
Well… You can get the CPU and the RAM clocks from other sources. For the CPU, you can do
cat /proc/cpuinfo|grep -i mhz
. This will output a line for each core of your CPU. For the RAM, I don't know where you can get it from. You should create a new question, 'How can I get my RAM frequency?' or something similar. I will update my answer shortly – user49740 – 2012-06-06T18:41:27.697Forget I said that, I'm just thinking in the wrong spot. I know the numbers in Powermizer Information are related to GPU clocks, and not my CPU and RAM. – Frantumn – 2012-06-06T18:49:39.800
Then what would "Processor Clock" refer to, if not the frequency of your CPU? I haven't used PowerMizer so I do not know anything about it. You can also run a simple test: Open PowerMizer and a terminal, run one of the commands in my answer to get the current CPU frequency and compare it to what PowerMizer is saying – user49740 – 2012-06-06T18:52:03.073
I was able to get the Processor clock to mimmic the powermizer setting, the keyword was
GPUCurrentProcessorClockFreqs
the keyword for Graphic Clock was
GPUCurrentClockFreqs
I'm not sure what the difference is, but they don't refer to my CPU as that freq is a seperate number. Now the only one I have to do is the memory one. – Frantumn – 2012-06-06T18:55:57.653Intuition says that the keyword for memory is
GPUCurrentMemoryClockFreqs
. Try doingnvidia-settings -query all|grep Memory
– user49740 – 2012-06-06T18:58:38.080Yes, I tried that one. I think I'm on the right track with this, it's just a matter of finding the right word with Grep. I'll mark your answer as the solution since it led me to my working results. Thanks! :) – Frantumn – 2012-06-06T18:59:49.487
Thanks. You can also try
– user49740 – 2012-06-06T19:03:37.230nvidia-settings -query all|grep -i mem
. From what I have read elsewhere, you can installnvclock
and runnvclock -i
to get some information about your GPU