Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there any way to check at which clock speed my processor is running?

I have already tried cat /proc/cpuinfo but the clock speed I'm running isn't showing. I know Ubuntu 12.04 (Precise Pangolin) requires 700 MHz and VGA, but will an AMD Mobile Sempron work?

share|improve this question
You need more specific on the second part of your question. Do you know the model number? –  LiveWireBT Nov 20 '12 at 6:55
Thank you for all the answers but I am good now! –  user1610406 Nov 20 '12 at 23:04

5 Answers 5

up vote 33 down vote accepted

From the command line type lscpu. The information will be at CPU MHz:

share|improve this answer
Note that the value of CPU MHz is not fixed and may change by the second. –  Cerin Jan 30 at 15:53

Is an AMD Mobile Sempron fast enough? Yes, it is.

Even the slowest member of that family is fast enough.

In a terminal, enter:

cat /proc/cpuinfo | grep name

It should display the exact model of your CPU.

This Wikipedia page on the Sempron will give you detailed specifications.

share|improve this answer

There are a couple of ways:

  1. lscpu or more precise lscpu | grep "MHz".
    This will give you the general MHz for the CPU.

    $ lscpu | grep "MHz".
    CPU MHz:               1600.000
  2. cat /proc/cpuinfo or more precise cat /proc/cpuinfo | grep "MHz".
    This will give you the individual MHz for each CPU Core. So if you have an Core 2 Duo, AMD Bulldozer, Core i7, etc.. it will show the MHz for each core.

    $ cat /proc/cpuinfo | grep "MHz"
    cpu MHz     : 1600.000
    cpu MHz     : 1600.000
    cpu MHz     : 1600.000
    cpu MHz     : 1600.000
    cpu MHz     : 1600.000
    cpu MHz     : 1600.000
    cpu MHz     : 1600.000
    cpu MHz     : 3400.000
  3. lshw -c cpu or more precise version: lshw -c cpu | grep capacity
    Will give you the general MHz. Same as lscpu.

    $ lshw -c cpu | grep capacity
    WARNING: you should run this program as super-user.
           capacity: 1600MHz
    WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
  4. sudo dmidecode -t processor or more precise: sudo dmidecode -t processor | grep "Speed" Will not only give you a MHz in use but also the Maximum you can push / overclock your CPU to.

    $ sudo dmidecode -t processor | grep Speed
    [sudo] password for cyrex: 
        Max Speed: 4000 MHz
        Current Speed: 2666 MHz

Out of all of this, lshw and dmidecode provide the best information out of your CPU.

You can also target the current MHz detected by the kernel by querying the log files:

cat /var/log/dmesg | grep "MHz processor" - For the current detected MHz speed

cat /var/log/kern.log | grep "MHz processor" - For the current and past detected MHz speeds. Will not work in some cases, that is why I posted the dmesg one first.

And that's all I can remember from the top of my head. I am fairly certain there are other ways, just don't remember right now. Of course, talking about terminal ways.

share|improve this answer

indicator-cpufreq-selector is a nice little indicator tool which shows your current cpu frequency. You can even select the desired cpu frequency.

enter image description here

share|improve this answer
You can install it using sudo apt-get install indicator-cpufreq. –  Wilf Feb 26 at 23:00

For the current CPU speed one can dynamically watch this change in real time using:

sudo watch -n 1  cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq

To see the maximum CPU speed, use:

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq 
share|improve this answer
+1, I know this is an Ubuntu site, but this appears to be the only answer providing a command that is completely OS independent. –  Andy E Apr 24 at 11:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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