2

I have a Linux PC with a 3.4 GHz CPU. I must check this processor to see if it actually runs at that speed. Is there a benchmark available? I ran sysbench but it only provides time of completion, and I must find the maximum (actual) clock rate.

1

Use the command:

lscpu

To know all your CPU Specs:

To get the specific frequency of your CPU use the command with a grep like so:

lscpu | grep MHz

It will give you output like:

CPU MHz:               2723.789

To see realtime CPU speeds fluctuation use :

watch -n1 "lscpu | grep MHz | awk '{print $1}'";

https://askubuntu.com/questions/916382/ubuntu-get-actual-current-cpu-clock-speed

0

You can run lscpu | grep MHz and it will tell you what the CPU is running at now.
You can run cpufreq-info | grep "frequency is" to see what it's supposed to be.
sudo powertop launches a utility; click twice on Tab to see the "Frequency stats" tab which updates continually for a larger sample.

However, Intel SpeedStep capable CPUs and AMD PowerNow! CPUs vary their clock speed based on load, running above spec when needed and power management permits. Therefore, you may see a CPU running faster than spec.

  • 1
    thanks, brother I have to benchmark it. I know the guidance provided by you. I have to test it empirically – Shafiq Dec 5 '18 at 4:07
  • Should you find the above useful, you may let others know it's a good post by clicking on the up arrowhead. Also, if this is the best answer, you may also click on the checkmark. That's how we get our amazing superpowers here. – K7AAY Dec 6 '18 at 21:34

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.