Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Linux utility to bench mark clock speed of CPU

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.
by

1 Answer

Amit8z4mc
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}'";
*

Login / Signup to Answer the Question.