I was trying to get frequecy from my device at run time. I used this device node

sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq 

It gave me 60000. I tried this one

cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq

I get 396000.

What is the unit of these values. Is it 60000 Hz or Mhz?

  • Also, do note the CPU frequency is likely to change depending on system load. A lower clock speed on the CPU equals power savings. – Criggie Oct 17 '16 at 9:20

The values are given in kHz (see the documentation). So 60000 is 60 MHz, 396000 is 396 MHz.

  • Yes. Thanks. I will look into the documentation from now on. – pointer accurate Oct 17 '16 at 8:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.