Any way to check the clock speed of my processor?











up vote
148
down vote

favorite
58












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















up vote
148
down vote

favorite
58












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













up vote
148
down vote

favorite
58









up vote
148
down vote

favorite
58






58





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















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?







cpu






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 16 '14 at 15:47









Braiam

50.9k20133217




50.9k20133217










asked Nov 17 '12 at 18:36









user1610406

1,00541120




1,00541120












  • 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


















  • 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
















You need more specific on the second part of your question. Do you know the model number?
– LiveWireBT
Nov 20 '12 at 6:55




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




Thank you for all the answers but I am good now!
– user1610406
Nov 20 '12 at 23:04










15 Answers
15






active

oldest

votes

















up vote
156
down vote



accepted










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



~$ lscpu | grep MHz
CPU MHz: 804.901
CPU max MHz: 3200.0000
CPU min MHz: 800.0000





share|improve this answer



















  • 12




    Note that the value of CPU MHz is not fixed and may change by the second.
    – Cerin
    Jan 30 '14 at 15:53






  • 15




    If you'd like to have it update in real-time, this will help: watch -n1 "lscpu | grep 'MHz' | awk '{print $1}'".
    – Amal Murali
    Nov 16 '14 at 14:39






  • 1




    @Ivan: Sorry, disregard that. The output of this command: watch -n1 "lscpu | grep 'MHz' | awk '{print $1}'"
    – Amal Murali
    Dec 21 '15 at 20:52






  • 2




    @Ivan: Okay, here you go: watch -n1 "lscpu | grep 'CPU MHz' | awk '{print $1}'"
    – Amal Murali
    Dec 21 '15 at 22:47






  • 1




    @Ivan: For a momentary observation, you don't need watch. This would do: lscpu | grep 'CPU MHz' | awk '{ print $3; }'. I'm not sure about the exact output you're getting on your system. I'll explain the command if that helps: first lscpu gets the full output that contains information regarding your CPU, grep then searches for CPU MHz and prints out just that line, awk takes out the $N-th block and displays it out. And if you want the result to change in real-time, then wrap the command in a watch -n1 "...".
    – Amal Murali
    Dec 22 '15 at 10:51


















up vote
153
down vote













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























  • For me, all options except dmidecode gave a false reading: I'm overclocking an intel E6600 2.4ghz chip on a gigabyte ga-965p-ds3 3.3 board with 7x multiplier & 400mhz CPU frequency to give 2.8ghz CPU, but the stock multiplier is 9 (9x266=2.4ghz) so I suspect the rest of the tools assume multiplier is stock and times that by the CPU mhz, so in my case they all give 3.6ghz.
    – dez93_2000
    Oct 31 '14 at 22:30






  • 2




    dmidecode seems to be the only one to accurately report the clock speed when overclocking
    – Avindra Goolcharan
    Mar 1 '17 at 22:45










  • @AvindraGoolcharan Actually that is very good to know. Thank you.
    – Luis Alvarado
    Mar 1 '17 at 23:06










  • lscpu gives me max and min frequency, but not the current one. cat /proc/cpuinfo tell me lots of stuff about my ARM cores, but no frequency at all. lshw doesn't exist. dmidecode -t processor gives me an unhandled fault. Those may work on your PC, but not on my embedded linux. cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq is the way to go.
    – Philippos
    May 3 '17 at 14:32










  • On my system with an Intel Core i5-7200U (base frequency 2.5 GHz; Turbo Boost up to 3.1 GHz) and Ubuntu 16.04, this is what I see. (I used ... | grep Hz to easily find these.) lscpu: "Model name: ... 2.50GHz" (base), "CPU MHz: 624.796" (current), "CPU max MHz: 3100.0000" (turbo). lshw: "product: ... 2.50GHz" (base), "capacity: 3100MHz" (turbo). dmidecode: "Version: ... 2.50GHz" (base), "Max Speed: 2500 MHz" (base), "Current Speed: 2400 MHz" (some value from DMI table).
    – Cerran
    Jul 28 '17 at 16:56




















up vote
83
down vote













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

















  • 3




    +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 '14 at 11:53










  • If you get Permission Denied trying to read scaling_max_freq, try cpuinfo_max_freq.
    – LightStruk
    Nov 7 '14 at 16:29






  • 3




    cpufreq/cpuinfo_cur_freq doesn't exist
    – Ken Sharp
    Aug 5 '16 at 23:51






  • 1




    +1, even on several ARM-based systems running ubtunu only this solution works. Each and every other "solutions" given on this page fail there, while this works everywhere.
    – Philippos
    May 9 '17 at 6:24






  • 3




    intel_pstate CPU freq driver doesn't provide cpuinfo_cur_freq. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver to see what driver is currently used. BTW, cpuinfo_cur_freq is hardware's point of view and scaling_cur_freq is kernel's point of view of the current CPU frequency. More on static.lwn.net/kerneldoc/admin-guide/pm/…
    – Yasushi Shoji
    Dec 28 '17 at 11:38


















up vote
15
down vote













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



However last update for this tool was on 2015-10-19.






share|improve this answer



















  • 5




    You can install it using sudo apt-get install indicator-cpufreq.
    – Wilf
    Feb 26 '14 at 23:00






  • 2




    And after installing, you'll need to reboot before it will show up.
    – talyric
    Mar 30 '15 at 19:39










  • Doesn't work well in newer Ubuntus, if at all.
    – Ken Sharp
    Aug 5 '16 at 23:51


















up vote
5
down vote













I would just like to add i7z to this list. Contrary to the other options, this works better for CPUs in the i7, i5 and i3 series that have TurboBoost.






share|improve this answer





















  • Exactly what I needed. And it also shows Vcore voltages, Turbo multipliers, C0 halts, etc. Very nice!
    – Ohne Kleidung
    Mar 11 at 12:56










  • Heads up, requires 30mb of ruby and assorted tools.
    – Gringo Suave
    Jun 5 at 2:38


















up vote
3
down vote













cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies





share|improve this answer




























    up vote
    3
    down vote













    I'd like to point out sudo is needed for Ian's answer above:



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


    However you can get the same results without sudo using:



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


    My favourite is to use Conky where you can paint your own picture:



    Conky.gif



    This sits on the right of my built-in display all the time. The relevant code for the CPU section is:



    ${color2}${voffset 5}Intel® i-7 3630QM 3.4 GHz: ${color1}@  ${color green}${freq} MHz   
    ${color}${goto 13}CPU 1 ${goto 81}${color green}${cpu cpu1}% ${goto 131}${color3}${cpubar cpu1 18}
    ${color}${goto 13}CPU 2 ${goto 81}${color green}${cpu cpu2}% ${goto 131}${color3}${cpubar cpu2 18}
    ${color}${goto 13}CPU 3 ${goto 81}${color green}${cpu cpu3}% ${goto 131}${color3}${cpubar cpu3 18}
    ${color}${goto 13}CPU 4 ${goto 81}${color green}${cpu cpu4}% ${goto 131}${color3}${cpubar cpu4 18}
    ${color}${goto 13}CPU 5 ${goto 81}${color green}${cpu cpu5}% ${goto 131}${color3}${cpubar cpu5 18}
    ${color}${goto 13}CPU 6 ${goto 81}${color green}${cpu cpu6}% ${goto 131}${color3}${cpubar cpu6 18}
    ${color}${goto 13}CPU 7 ${goto 81}${color green}${cpu cpu7}% ${goto 131}${color3}${cpubar cpu7 18}
    ${color}${goto 13}CPU 8 ${goto 81}${color green}${cpu cpu8}% ${goto 131}${color3}${cpubar cpu8 18}
    ${color1}All CPU ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 2 temp 1}°C ${goto 250}${color1}Up: ${color green}$uptime





    share|improve this answer





















    • Where is Conky and what is it?
      – not2qubit
      Apr 19 at 5:57










    • @not2qubit I'll update this answer later but in the meantime see this Arch Linux article: wiki.archlinux.org/index.php/conky
      – WinEunuuchs2Unix
      Apr 19 at 10:03


















    up vote
    2
    down vote













    If you are using an embedded ARM device (such as a Raspberry or ARM based phones), you will not be able to use solutions using lscpu, dmidecode or /proc/cpuinfo because the current speed is not listed there, if the tool is at all available. Instead you have to use sysfs:





    alias getcpuf='i=1; for x in $(sudo cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq); do y=$(($x/1000)); echo "CPU-${i}: $y MHz"; i=$((i+1)); done;'

    # getcpuf
    CPU-1: 600 MHz
    CPU-2: 600 MHz
    CPU-3: 600 MHz
    CPU-4: 600 MHz





    share|improve this answer




























      up vote
      1
      down vote













      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






























        up vote
        1
        down vote













        Here is a straightforward way to get cpu frequencies for all CPU threads:




        1. Be sure that cpufrequtils is installed.



        2. Then in a terminal, run the following command:



          cpufreq-info | grep "frequency is"







        share|improve this answer






























          up vote
          0
          down vote













          I wanted to share this as a comment, but dont have many reputations on askubuntu, People who want to use indicator-cpufreq do not need to reboot the computer. Resetting the current X session is enough to display the icon.



          sudo apt-get install indicator-cpufreq   
          DISPLAY=:0 compiz --replace


          You can validate the Performance and Powersave option by seeing the current frequency by



          watch -d "cat /proc/cpuinfo | grep -i Mhz"


          As soon as you click on a lower frequency / Powersave, the powermanagement of the CPU kicks in, thereby reducing the clock cycle.






          share|improve this answer




























            up vote
            0
            down vote













            Sample output of cat /proc/cpuinfo



            processor   : 0
            vendor_id : GenuineIntel
            cpu family : 6
            model : 69
            model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
            stepping : 1
            microcode : 0x17
            cpu MHz : 774.000
            cache size : 4096 KB
            physical id : 0
            siblings : 4
            core id : 0
            cpu cores : 2
            apicid : 0
            initial apicid : 0
            fpu : yes
            fpu_exception : yes
            cpuid level : 13
            wp : yes
            flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
            bogomips : 3591.40
            clflush size : 64
            cache_alignment : 64
            address sizes : 39 bits physical, 48 bits virtual
            power management:

            processor : 1
            vendor_id : GenuineIntel
            cpu family : 6
            model : 69
            model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
            stepping : 1
            microcode : 0x17
            cpu MHz : 1600.000
            cache size : 4096 KB
            physical id : 0
            siblings : 4
            core id : 0
            cpu cores : 2
            apicid : 1
            initial apicid : 1
            fpu : yes
            fpu_exception : yes
            cpuid level : 13
            wp : yes
            flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
            bogomips : 3591.40
            clflush size : 64
            cache_alignment : 64
            address sizes : 39 bits physical, 48 bits virtual
            power management:

            processor : 2
            vendor_id : GenuineIntel
            cpu family : 6
            model : 69
            model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
            stepping : 1
            microcode : 0x17
            cpu MHz : 800.000
            cache size : 4096 KB
            physical id : 0
            siblings : 4
            core id : 1
            cpu cores : 2
            apicid : 2
            initial apicid : 2
            fpu : yes
            fpu_exception : yes
            cpuid level : 13
            wp : yes
            flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
            bogomips : 3591.40
            clflush size : 64
            cache_alignment : 64
            address sizes : 39 bits physical, 48 bits virtual
            power management:

            processor : 3
            vendor_id : GenuineIntel
            cpu family : 6
            model : 69
            model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
            stepping : 1
            microcode : 0x17
            cpu MHz : 774.000
            cache size : 4096 KB
            physical id : 0
            siblings : 4
            core id : 1
            cpu cores : 2
            apicid : 3
            initial apicid : 3
            fpu : yes
            fpu_exception : yes
            cpuid level : 13
            wp : yes
            flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
            bogomips : 3591.40
            clflush size : 64
            cache_alignment : 64
            address sizes : 39 bits physical, 48 bits virtual
            power management:


            Here cpu MHz means current cpu frequency.
            You can run cpufreq-info to understand easily.






            share|improve this answer























            • redundant and long !
              – Rishav Ambasta
              Dec 1 '16 at 6:24


















            up vote
            0
            down vote













            In a Linux terminal type the following command to get the CPU core name and it's current speed:



            cat /proc/cpuinfo | grep -E "model name|cpu MHz"






            share|improve this answer




























              up vote
              0
              down vote













              sudo powertop then hit Tab twice to get to the "Frequency stats" tab.



              It displays Actual frequency (accurate on my Laptop, as opposed to dmidecode), along with stats about how long is spent in each available frequency.






              share|improve this answer




























                up vote
                0
                down vote













                This is my favorite:



                watch -n1 "cat /proc/cpuinfo | grep 'MHz'"


                Although if you have Turbo Boost (or Turbo Core if AMD), you'll probably prefer:



                sudo watch -n 1 -d cpupower monitor


                which uses cpupower from the linux-tools group.






                share|improve this answer























                  Your Answer








                  StackExchange.ready(function() {
                  var channelOptions = {
                  tags: "".split(" "),
                  id: "89"
                  };
                  initTagRenderer("".split(" "), "".split(" "), channelOptions);

                  StackExchange.using("externalEditor", function() {
                  // Have to fire editor after snippets, if snippets enabled
                  if (StackExchange.settings.snippets.snippetsEnabled) {
                  StackExchange.using("snippets", function() {
                  createEditor();
                  });
                  }
                  else {
                  createEditor();
                  }
                  });

                  function createEditor() {
                  StackExchange.prepareEditor({
                  heartbeatType: 'answer',
                  convertImagesToLinks: true,
                  noModals: true,
                  showLowRepImageUploadWarning: true,
                  reputationToPostImages: 10,
                  bindNavPrevention: true,
                  postfix: "",
                  imageUploader: {
                  brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                  contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                  allowUrls: true
                  },
                  onDemand: true,
                  discardSelector: ".discard-answer"
                  ,immediatelyShowMarkdownHelp:true
                  });


                  }
                  });














                   

                  draft saved


                  draft discarded


















                  StackExchange.ready(
                  function () {
                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f218567%2fany-way-to-check-the-clock-speed-of-my-processor%23new-answer', 'question_page');
                  }
                  );

                  Post as a guest















                  Required, but never shown

























                  15 Answers
                  15






                  active

                  oldest

                  votes








                  15 Answers
                  15






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes








                  up vote
                  156
                  down vote



                  accepted










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



                  ~$ lscpu | grep MHz
                  CPU MHz: 804.901
                  CPU max MHz: 3200.0000
                  CPU min MHz: 800.0000





                  share|improve this answer



















                  • 12




                    Note that the value of CPU MHz is not fixed and may change by the second.
                    – Cerin
                    Jan 30 '14 at 15:53






                  • 15




                    If you'd like to have it update in real-time, this will help: watch -n1 "lscpu | grep 'MHz' | awk '{print $1}'".
                    – Amal Murali
                    Nov 16 '14 at 14:39






                  • 1




                    @Ivan: Sorry, disregard that. The output of this command: watch -n1 "lscpu | grep 'MHz' | awk '{print $1}'"
                    – Amal Murali
                    Dec 21 '15 at 20:52






                  • 2




                    @Ivan: Okay, here you go: watch -n1 "lscpu | grep 'CPU MHz' | awk '{print $1}'"
                    – Amal Murali
                    Dec 21 '15 at 22:47






                  • 1




                    @Ivan: For a momentary observation, you don't need watch. This would do: lscpu | grep 'CPU MHz' | awk '{ print $3; }'. I'm not sure about the exact output you're getting on your system. I'll explain the command if that helps: first lscpu gets the full output that contains information regarding your CPU, grep then searches for CPU MHz and prints out just that line, awk takes out the $N-th block and displays it out. And if you want the result to change in real-time, then wrap the command in a watch -n1 "...".
                    – Amal Murali
                    Dec 22 '15 at 10:51















                  up vote
                  156
                  down vote



                  accepted










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



                  ~$ lscpu | grep MHz
                  CPU MHz: 804.901
                  CPU max MHz: 3200.0000
                  CPU min MHz: 800.0000





                  share|improve this answer



















                  • 12




                    Note that the value of CPU MHz is not fixed and may change by the second.
                    – Cerin
                    Jan 30 '14 at 15:53






                  • 15




                    If you'd like to have it update in real-time, this will help: watch -n1 "lscpu | grep 'MHz' | awk '{print $1}'".
                    – Amal Murali
                    Nov 16 '14 at 14:39






                  • 1




                    @Ivan: Sorry, disregard that. The output of this command: watch -n1 "lscpu | grep 'MHz' | awk '{print $1}'"
                    – Amal Murali
                    Dec 21 '15 at 20:52






                  • 2




                    @Ivan: Okay, here you go: watch -n1 "lscpu | grep 'CPU MHz' | awk '{print $1}'"
                    – Amal Murali
                    Dec 21 '15 at 22:47






                  • 1




                    @Ivan: For a momentary observation, you don't need watch. This would do: lscpu | grep 'CPU MHz' | awk '{ print $3; }'. I'm not sure about the exact output you're getting on your system. I'll explain the command if that helps: first lscpu gets the full output that contains information regarding your CPU, grep then searches for CPU MHz and prints out just that line, awk takes out the $N-th block and displays it out. And if you want the result to change in real-time, then wrap the command in a watch -n1 "...".
                    – Amal Murali
                    Dec 22 '15 at 10:51













                  up vote
                  156
                  down vote



                  accepted







                  up vote
                  156
                  down vote



                  accepted






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



                  ~$ lscpu | grep MHz
                  CPU MHz: 804.901
                  CPU max MHz: 3200.0000
                  CPU min MHz: 800.0000





                  share|improve this answer














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



                  ~$ lscpu | grep MHz
                  CPU MHz: 804.901
                  CPU max MHz: 3200.0000
                  CPU min MHz: 800.0000






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited May 8 '17 at 2:54

























                  answered Nov 17 '12 at 18:43









                  Kevin Bowen

                  14.1k145969




                  14.1k145969








                  • 12




                    Note that the value of CPU MHz is not fixed and may change by the second.
                    – Cerin
                    Jan 30 '14 at 15:53






                  • 15




                    If you'd like to have it update in real-time, this will help: watch -n1 "lscpu | grep 'MHz' | awk '{print $1}'".
                    – Amal Murali
                    Nov 16 '14 at 14:39






                  • 1




                    @Ivan: Sorry, disregard that. The output of this command: watch -n1 "lscpu | grep 'MHz' | awk '{print $1}'"
                    – Amal Murali
                    Dec 21 '15 at 20:52






                  • 2




                    @Ivan: Okay, here you go: watch -n1 "lscpu | grep 'CPU MHz' | awk '{print $1}'"
                    – Amal Murali
                    Dec 21 '15 at 22:47






                  • 1




                    @Ivan: For a momentary observation, you don't need watch. This would do: lscpu | grep 'CPU MHz' | awk '{ print $3; }'. I'm not sure about the exact output you're getting on your system. I'll explain the command if that helps: first lscpu gets the full output that contains information regarding your CPU, grep then searches for CPU MHz and prints out just that line, awk takes out the $N-th block and displays it out. And if you want the result to change in real-time, then wrap the command in a watch -n1 "...".
                    – Amal Murali
                    Dec 22 '15 at 10:51














                  • 12




                    Note that the value of CPU MHz is not fixed and may change by the second.
                    – Cerin
                    Jan 30 '14 at 15:53






                  • 15




                    If you'd like to have it update in real-time, this will help: watch -n1 "lscpu | grep 'MHz' | awk '{print $1}'".
                    – Amal Murali
                    Nov 16 '14 at 14:39






                  • 1




                    @Ivan: Sorry, disregard that. The output of this command: watch -n1 "lscpu | grep 'MHz' | awk '{print $1}'"
                    – Amal Murali
                    Dec 21 '15 at 20:52






                  • 2




                    @Ivan: Okay, here you go: watch -n1 "lscpu | grep 'CPU MHz' | awk '{print $1}'"
                    – Amal Murali
                    Dec 21 '15 at 22:47






                  • 1




                    @Ivan: For a momentary observation, you don't need watch. This would do: lscpu | grep 'CPU MHz' | awk '{ print $3; }'. I'm not sure about the exact output you're getting on your system. I'll explain the command if that helps: first lscpu gets the full output that contains information regarding your CPU, grep then searches for CPU MHz and prints out just that line, awk takes out the $N-th block and displays it out. And if you want the result to change in real-time, then wrap the command in a watch -n1 "...".
                    – Amal Murali
                    Dec 22 '15 at 10:51








                  12




                  12




                  Note that the value of CPU MHz is not fixed and may change by the second.
                  – Cerin
                  Jan 30 '14 at 15:53




                  Note that the value of CPU MHz is not fixed and may change by the second.
                  – Cerin
                  Jan 30 '14 at 15:53




                  15




                  15




                  If you'd like to have it update in real-time, this will help: watch -n1 "lscpu | grep 'MHz' | awk '{print $1}'".
                  – Amal Murali
                  Nov 16 '14 at 14:39




                  If you'd like to have it update in real-time, this will help: watch -n1 "lscpu | grep 'MHz' | awk '{print $1}'".
                  – Amal Murali
                  Nov 16 '14 at 14:39




                  1




                  1




                  @Ivan: Sorry, disregard that. The output of this command: watch -n1 "lscpu | grep 'MHz' | awk '{print $1}'"
                  – Amal Murali
                  Dec 21 '15 at 20:52




                  @Ivan: Sorry, disregard that. The output of this command: watch -n1 "lscpu | grep 'MHz' | awk '{print $1}'"
                  – Amal Murali
                  Dec 21 '15 at 20:52




                  2




                  2




                  @Ivan: Okay, here you go: watch -n1 "lscpu | grep 'CPU MHz' | awk '{print $1}'"
                  – Amal Murali
                  Dec 21 '15 at 22:47




                  @Ivan: Okay, here you go: watch -n1 "lscpu | grep 'CPU MHz' | awk '{print $1}'"
                  – Amal Murali
                  Dec 21 '15 at 22:47




                  1




                  1




                  @Ivan: For a momentary observation, you don't need watch. This would do: lscpu | grep 'CPU MHz' | awk '{ print $3; }'. I'm not sure about the exact output you're getting on your system. I'll explain the command if that helps: first lscpu gets the full output that contains information regarding your CPU, grep then searches for CPU MHz and prints out just that line, awk takes out the $N-th block and displays it out. And if you want the result to change in real-time, then wrap the command in a watch -n1 "...".
                  – Amal Murali
                  Dec 22 '15 at 10:51




                  @Ivan: For a momentary observation, you don't need watch. This would do: lscpu | grep 'CPU MHz' | awk '{ print $3; }'. I'm not sure about the exact output you're getting on your system. I'll explain the command if that helps: first lscpu gets the full output that contains information regarding your CPU, grep then searches for CPU MHz and prints out just that line, awk takes out the $N-th block and displays it out. And if you want the result to change in real-time, then wrap the command in a watch -n1 "...".
                  – Amal Murali
                  Dec 22 '15 at 10:51












                  up vote
                  153
                  down vote













                  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























                  • For me, all options except dmidecode gave a false reading: I'm overclocking an intel E6600 2.4ghz chip on a gigabyte ga-965p-ds3 3.3 board with 7x multiplier & 400mhz CPU frequency to give 2.8ghz CPU, but the stock multiplier is 9 (9x266=2.4ghz) so I suspect the rest of the tools assume multiplier is stock and times that by the CPU mhz, so in my case they all give 3.6ghz.
                    – dez93_2000
                    Oct 31 '14 at 22:30






                  • 2




                    dmidecode seems to be the only one to accurately report the clock speed when overclocking
                    – Avindra Goolcharan
                    Mar 1 '17 at 22:45










                  • @AvindraGoolcharan Actually that is very good to know. Thank you.
                    – Luis Alvarado
                    Mar 1 '17 at 23:06










                  • lscpu gives me max and min frequency, but not the current one. cat /proc/cpuinfo tell me lots of stuff about my ARM cores, but no frequency at all. lshw doesn't exist. dmidecode -t processor gives me an unhandled fault. Those may work on your PC, but not on my embedded linux. cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq is the way to go.
                    – Philippos
                    May 3 '17 at 14:32










                  • On my system with an Intel Core i5-7200U (base frequency 2.5 GHz; Turbo Boost up to 3.1 GHz) and Ubuntu 16.04, this is what I see. (I used ... | grep Hz to easily find these.) lscpu: "Model name: ... 2.50GHz" (base), "CPU MHz: 624.796" (current), "CPU max MHz: 3100.0000" (turbo). lshw: "product: ... 2.50GHz" (base), "capacity: 3100MHz" (turbo). dmidecode: "Version: ... 2.50GHz" (base), "Max Speed: 2500 MHz" (base), "Current Speed: 2400 MHz" (some value from DMI table).
                    – Cerran
                    Jul 28 '17 at 16:56

















                  up vote
                  153
                  down vote













                  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























                  • For me, all options except dmidecode gave a false reading: I'm overclocking an intel E6600 2.4ghz chip on a gigabyte ga-965p-ds3 3.3 board with 7x multiplier & 400mhz CPU frequency to give 2.8ghz CPU, but the stock multiplier is 9 (9x266=2.4ghz) so I suspect the rest of the tools assume multiplier is stock and times that by the CPU mhz, so in my case they all give 3.6ghz.
                    – dez93_2000
                    Oct 31 '14 at 22:30






                  • 2




                    dmidecode seems to be the only one to accurately report the clock speed when overclocking
                    – Avindra Goolcharan
                    Mar 1 '17 at 22:45










                  • @AvindraGoolcharan Actually that is very good to know. Thank you.
                    – Luis Alvarado
                    Mar 1 '17 at 23:06










                  • lscpu gives me max and min frequency, but not the current one. cat /proc/cpuinfo tell me lots of stuff about my ARM cores, but no frequency at all. lshw doesn't exist. dmidecode -t processor gives me an unhandled fault. Those may work on your PC, but not on my embedded linux. cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq is the way to go.
                    – Philippos
                    May 3 '17 at 14:32










                  • On my system with an Intel Core i5-7200U (base frequency 2.5 GHz; Turbo Boost up to 3.1 GHz) and Ubuntu 16.04, this is what I see. (I used ... | grep Hz to easily find these.) lscpu: "Model name: ... 2.50GHz" (base), "CPU MHz: 624.796" (current), "CPU max MHz: 3100.0000" (turbo). lshw: "product: ... 2.50GHz" (base), "capacity: 3100MHz" (turbo). dmidecode: "Version: ... 2.50GHz" (base), "Max Speed: 2500 MHz" (base), "Current Speed: 2400 MHz" (some value from DMI table).
                    – Cerran
                    Jul 28 '17 at 16:56















                  up vote
                  153
                  down vote










                  up vote
                  153
                  down vote









                  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














                  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














                  share|improve this answer



                  share|improve this answer








                  edited Mar 12 '14 at 17:31









                  terdon

                  63.3k12132209




                  63.3k12132209










                  answered Nov 17 '12 at 19:07









                  Luis Alvarado

                  143k135482649




                  143k135482649












                  • For me, all options except dmidecode gave a false reading: I'm overclocking an intel E6600 2.4ghz chip on a gigabyte ga-965p-ds3 3.3 board with 7x multiplier & 400mhz CPU frequency to give 2.8ghz CPU, but the stock multiplier is 9 (9x266=2.4ghz) so I suspect the rest of the tools assume multiplier is stock and times that by the CPU mhz, so in my case they all give 3.6ghz.
                    – dez93_2000
                    Oct 31 '14 at 22:30






                  • 2




                    dmidecode seems to be the only one to accurately report the clock speed when overclocking
                    – Avindra Goolcharan
                    Mar 1 '17 at 22:45










                  • @AvindraGoolcharan Actually that is very good to know. Thank you.
                    – Luis Alvarado
                    Mar 1 '17 at 23:06










                  • lscpu gives me max and min frequency, but not the current one. cat /proc/cpuinfo tell me lots of stuff about my ARM cores, but no frequency at all. lshw doesn't exist. dmidecode -t processor gives me an unhandled fault. Those may work on your PC, but not on my embedded linux. cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq is the way to go.
                    – Philippos
                    May 3 '17 at 14:32










                  • On my system with an Intel Core i5-7200U (base frequency 2.5 GHz; Turbo Boost up to 3.1 GHz) and Ubuntu 16.04, this is what I see. (I used ... | grep Hz to easily find these.) lscpu: "Model name: ... 2.50GHz" (base), "CPU MHz: 624.796" (current), "CPU max MHz: 3100.0000" (turbo). lshw: "product: ... 2.50GHz" (base), "capacity: 3100MHz" (turbo). dmidecode: "Version: ... 2.50GHz" (base), "Max Speed: 2500 MHz" (base), "Current Speed: 2400 MHz" (some value from DMI table).
                    – Cerran
                    Jul 28 '17 at 16:56




















                  • For me, all options except dmidecode gave a false reading: I'm overclocking an intel E6600 2.4ghz chip on a gigabyte ga-965p-ds3 3.3 board with 7x multiplier & 400mhz CPU frequency to give 2.8ghz CPU, but the stock multiplier is 9 (9x266=2.4ghz) so I suspect the rest of the tools assume multiplier is stock and times that by the CPU mhz, so in my case they all give 3.6ghz.
                    – dez93_2000
                    Oct 31 '14 at 22:30






                  • 2




                    dmidecode seems to be the only one to accurately report the clock speed when overclocking
                    – Avindra Goolcharan
                    Mar 1 '17 at 22:45










                  • @AvindraGoolcharan Actually that is very good to know. Thank you.
                    – Luis Alvarado
                    Mar 1 '17 at 23:06










                  • lscpu gives me max and min frequency, but not the current one. cat /proc/cpuinfo tell me lots of stuff about my ARM cores, but no frequency at all. lshw doesn't exist. dmidecode -t processor gives me an unhandled fault. Those may work on your PC, but not on my embedded linux. cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq is the way to go.
                    – Philippos
                    May 3 '17 at 14:32










                  • On my system with an Intel Core i5-7200U (base frequency 2.5 GHz; Turbo Boost up to 3.1 GHz) and Ubuntu 16.04, this is what I see. (I used ... | grep Hz to easily find these.) lscpu: "Model name: ... 2.50GHz" (base), "CPU MHz: 624.796" (current), "CPU max MHz: 3100.0000" (turbo). lshw: "product: ... 2.50GHz" (base), "capacity: 3100MHz" (turbo). dmidecode: "Version: ... 2.50GHz" (base), "Max Speed: 2500 MHz" (base), "Current Speed: 2400 MHz" (some value from DMI table).
                    – Cerran
                    Jul 28 '17 at 16:56


















                  For me, all options except dmidecode gave a false reading: I'm overclocking an intel E6600 2.4ghz chip on a gigabyte ga-965p-ds3 3.3 board with 7x multiplier & 400mhz CPU frequency to give 2.8ghz CPU, but the stock multiplier is 9 (9x266=2.4ghz) so I suspect the rest of the tools assume multiplier is stock and times that by the CPU mhz, so in my case they all give 3.6ghz.
                  – dez93_2000
                  Oct 31 '14 at 22:30




                  For me, all options except dmidecode gave a false reading: I'm overclocking an intel E6600 2.4ghz chip on a gigabyte ga-965p-ds3 3.3 board with 7x multiplier & 400mhz CPU frequency to give 2.8ghz CPU, but the stock multiplier is 9 (9x266=2.4ghz) so I suspect the rest of the tools assume multiplier is stock and times that by the CPU mhz, so in my case they all give 3.6ghz.
                  – dez93_2000
                  Oct 31 '14 at 22:30




                  2




                  2




                  dmidecode seems to be the only one to accurately report the clock speed when overclocking
                  – Avindra Goolcharan
                  Mar 1 '17 at 22:45




                  dmidecode seems to be the only one to accurately report the clock speed when overclocking
                  – Avindra Goolcharan
                  Mar 1 '17 at 22:45












                  @AvindraGoolcharan Actually that is very good to know. Thank you.
                  – Luis Alvarado
                  Mar 1 '17 at 23:06




                  @AvindraGoolcharan Actually that is very good to know. Thank you.
                  – Luis Alvarado
                  Mar 1 '17 at 23:06












                  lscpu gives me max and min frequency, but not the current one. cat /proc/cpuinfo tell me lots of stuff about my ARM cores, but no frequency at all. lshw doesn't exist. dmidecode -t processor gives me an unhandled fault. Those may work on your PC, but not on my embedded linux. cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq is the way to go.
                  – Philippos
                  May 3 '17 at 14:32




                  lscpu gives me max and min frequency, but not the current one. cat /proc/cpuinfo tell me lots of stuff about my ARM cores, but no frequency at all. lshw doesn't exist. dmidecode -t processor gives me an unhandled fault. Those may work on your PC, but not on my embedded linux. cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq is the way to go.
                  – Philippos
                  May 3 '17 at 14:32












                  On my system with an Intel Core i5-7200U (base frequency 2.5 GHz; Turbo Boost up to 3.1 GHz) and Ubuntu 16.04, this is what I see. (I used ... | grep Hz to easily find these.) lscpu: "Model name: ... 2.50GHz" (base), "CPU MHz: 624.796" (current), "CPU max MHz: 3100.0000" (turbo). lshw: "product: ... 2.50GHz" (base), "capacity: 3100MHz" (turbo). dmidecode: "Version: ... 2.50GHz" (base), "Max Speed: 2500 MHz" (base), "Current Speed: 2400 MHz" (some value from DMI table).
                  – Cerran
                  Jul 28 '17 at 16:56






                  On my system with an Intel Core i5-7200U (base frequency 2.5 GHz; Turbo Boost up to 3.1 GHz) and Ubuntu 16.04, this is what I see. (I used ... | grep Hz to easily find these.) lscpu: "Model name: ... 2.50GHz" (base), "CPU MHz: 624.796" (current), "CPU max MHz: 3100.0000" (turbo). lshw: "product: ... 2.50GHz" (base), "capacity: 3100MHz" (turbo). dmidecode: "Version: ... 2.50GHz" (base), "Max Speed: 2500 MHz" (base), "Current Speed: 2400 MHz" (some value from DMI table).
                  – Cerran
                  Jul 28 '17 at 16:56












                  up vote
                  83
                  down vote













                  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

















                  • 3




                    +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 '14 at 11:53










                  • If you get Permission Denied trying to read scaling_max_freq, try cpuinfo_max_freq.
                    – LightStruk
                    Nov 7 '14 at 16:29






                  • 3




                    cpufreq/cpuinfo_cur_freq doesn't exist
                    – Ken Sharp
                    Aug 5 '16 at 23:51






                  • 1




                    +1, even on several ARM-based systems running ubtunu only this solution works. Each and every other "solutions" given on this page fail there, while this works everywhere.
                    – Philippos
                    May 9 '17 at 6:24






                  • 3




                    intel_pstate CPU freq driver doesn't provide cpuinfo_cur_freq. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver to see what driver is currently used. BTW, cpuinfo_cur_freq is hardware's point of view and scaling_cur_freq is kernel's point of view of the current CPU frequency. More on static.lwn.net/kerneldoc/admin-guide/pm/…
                    – Yasushi Shoji
                    Dec 28 '17 at 11:38















                  up vote
                  83
                  down vote













                  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

















                  • 3




                    +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 '14 at 11:53










                  • If you get Permission Denied trying to read scaling_max_freq, try cpuinfo_max_freq.
                    – LightStruk
                    Nov 7 '14 at 16:29






                  • 3




                    cpufreq/cpuinfo_cur_freq doesn't exist
                    – Ken Sharp
                    Aug 5 '16 at 23:51






                  • 1




                    +1, even on several ARM-based systems running ubtunu only this solution works. Each and every other "solutions" given on this page fail there, while this works everywhere.
                    – Philippos
                    May 9 '17 at 6:24






                  • 3




                    intel_pstate CPU freq driver doesn't provide cpuinfo_cur_freq. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver to see what driver is currently used. BTW, cpuinfo_cur_freq is hardware's point of view and scaling_cur_freq is kernel's point of view of the current CPU frequency. More on static.lwn.net/kerneldoc/admin-guide/pm/…
                    – Yasushi Shoji
                    Dec 28 '17 at 11:38













                  up vote
                  83
                  down vote










                  up vote
                  83
                  down vote









                  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












                  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












                  share|improve this answer



                  share|improve this answer










                  answered Nov 17 '12 at 19:23









                  Colin Ian King

                  11.9k13546




                  11.9k13546








                  • 3




                    +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 '14 at 11:53










                  • If you get Permission Denied trying to read scaling_max_freq, try cpuinfo_max_freq.
                    – LightStruk
                    Nov 7 '14 at 16:29






                  • 3




                    cpufreq/cpuinfo_cur_freq doesn't exist
                    – Ken Sharp
                    Aug 5 '16 at 23:51






                  • 1




                    +1, even on several ARM-based systems running ubtunu only this solution works. Each and every other "solutions" given on this page fail there, while this works everywhere.
                    – Philippos
                    May 9 '17 at 6:24






                  • 3




                    intel_pstate CPU freq driver doesn't provide cpuinfo_cur_freq. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver to see what driver is currently used. BTW, cpuinfo_cur_freq is hardware's point of view and scaling_cur_freq is kernel's point of view of the current CPU frequency. More on static.lwn.net/kerneldoc/admin-guide/pm/…
                    – Yasushi Shoji
                    Dec 28 '17 at 11:38














                  • 3




                    +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 '14 at 11:53










                  • If you get Permission Denied trying to read scaling_max_freq, try cpuinfo_max_freq.
                    – LightStruk
                    Nov 7 '14 at 16:29






                  • 3




                    cpufreq/cpuinfo_cur_freq doesn't exist
                    – Ken Sharp
                    Aug 5 '16 at 23:51






                  • 1




                    +1, even on several ARM-based systems running ubtunu only this solution works. Each and every other "solutions" given on this page fail there, while this works everywhere.
                    – Philippos
                    May 9 '17 at 6:24






                  • 3




                    intel_pstate CPU freq driver doesn't provide cpuinfo_cur_freq. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver to see what driver is currently used. BTW, cpuinfo_cur_freq is hardware's point of view and scaling_cur_freq is kernel's point of view of the current CPU frequency. More on static.lwn.net/kerneldoc/admin-guide/pm/…
                    – Yasushi Shoji
                    Dec 28 '17 at 11:38








                  3




                  3




                  +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 '14 at 11:53




                  +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 '14 at 11:53












                  If you get Permission Denied trying to read scaling_max_freq, try cpuinfo_max_freq.
                  – LightStruk
                  Nov 7 '14 at 16:29




                  If you get Permission Denied trying to read scaling_max_freq, try cpuinfo_max_freq.
                  – LightStruk
                  Nov 7 '14 at 16:29




                  3




                  3




                  cpufreq/cpuinfo_cur_freq doesn't exist
                  – Ken Sharp
                  Aug 5 '16 at 23:51




                  cpufreq/cpuinfo_cur_freq doesn't exist
                  – Ken Sharp
                  Aug 5 '16 at 23:51




                  1




                  1




                  +1, even on several ARM-based systems running ubtunu only this solution works. Each and every other "solutions" given on this page fail there, while this works everywhere.
                  – Philippos
                  May 9 '17 at 6:24




                  +1, even on several ARM-based systems running ubtunu only this solution works. Each and every other "solutions" given on this page fail there, while this works everywhere.
                  – Philippos
                  May 9 '17 at 6:24




                  3




                  3




                  intel_pstate CPU freq driver doesn't provide cpuinfo_cur_freq. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver to see what driver is currently used. BTW, cpuinfo_cur_freq is hardware's point of view and scaling_cur_freq is kernel's point of view of the current CPU frequency. More on static.lwn.net/kerneldoc/admin-guide/pm/…
                  – Yasushi Shoji
                  Dec 28 '17 at 11:38




                  intel_pstate CPU freq driver doesn't provide cpuinfo_cur_freq. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver to see what driver is currently used. BTW, cpuinfo_cur_freq is hardware's point of view and scaling_cur_freq is kernel's point of view of the current CPU frequency. More on static.lwn.net/kerneldoc/admin-guide/pm/…
                  – Yasushi Shoji
                  Dec 28 '17 at 11:38










                  up vote
                  15
                  down vote













                  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



                  However last update for this tool was on 2015-10-19.






                  share|improve this answer



















                  • 5




                    You can install it using sudo apt-get install indicator-cpufreq.
                    – Wilf
                    Feb 26 '14 at 23:00






                  • 2




                    And after installing, you'll need to reboot before it will show up.
                    – talyric
                    Mar 30 '15 at 19:39










                  • Doesn't work well in newer Ubuntus, if at all.
                    – Ken Sharp
                    Aug 5 '16 at 23:51















                  up vote
                  15
                  down vote













                  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



                  However last update for this tool was on 2015-10-19.






                  share|improve this answer



















                  • 5




                    You can install it using sudo apt-get install indicator-cpufreq.
                    – Wilf
                    Feb 26 '14 at 23:00






                  • 2




                    And after installing, you'll need to reboot before it will show up.
                    – talyric
                    Mar 30 '15 at 19:39










                  • Doesn't work well in newer Ubuntus, if at all.
                    – Ken Sharp
                    Aug 5 '16 at 23:51













                  up vote
                  15
                  down vote










                  up vote
                  15
                  down vote









                  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



                  However last update for this tool was on 2015-10-19.






                  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



                  However last update for this tool was on 2015-10-19.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jun 7 '17 at 18:01

























                  answered Nov 20 '12 at 21:51









                  Stephan Schielke

                  370410




                  370410








                  • 5




                    You can install it using sudo apt-get install indicator-cpufreq.
                    – Wilf
                    Feb 26 '14 at 23:00






                  • 2




                    And after installing, you'll need to reboot before it will show up.
                    – talyric
                    Mar 30 '15 at 19:39










                  • Doesn't work well in newer Ubuntus, if at all.
                    – Ken Sharp
                    Aug 5 '16 at 23:51














                  • 5




                    You can install it using sudo apt-get install indicator-cpufreq.
                    – Wilf
                    Feb 26 '14 at 23:00






                  • 2




                    And after installing, you'll need to reboot before it will show up.
                    – talyric
                    Mar 30 '15 at 19:39










                  • Doesn't work well in newer Ubuntus, if at all.
                    – Ken Sharp
                    Aug 5 '16 at 23:51








                  5




                  5




                  You can install it using sudo apt-get install indicator-cpufreq.
                  – Wilf
                  Feb 26 '14 at 23:00




                  You can install it using sudo apt-get install indicator-cpufreq.
                  – Wilf
                  Feb 26 '14 at 23:00




                  2




                  2




                  And after installing, you'll need to reboot before it will show up.
                  – talyric
                  Mar 30 '15 at 19:39




                  And after installing, you'll need to reboot before it will show up.
                  – talyric
                  Mar 30 '15 at 19:39












                  Doesn't work well in newer Ubuntus, if at all.
                  – Ken Sharp
                  Aug 5 '16 at 23:51




                  Doesn't work well in newer Ubuntus, if at all.
                  – Ken Sharp
                  Aug 5 '16 at 23:51










                  up vote
                  5
                  down vote













                  I would just like to add i7z to this list. Contrary to the other options, this works better for CPUs in the i7, i5 and i3 series that have TurboBoost.






                  share|improve this answer





















                  • Exactly what I needed. And it also shows Vcore voltages, Turbo multipliers, C0 halts, etc. Very nice!
                    – Ohne Kleidung
                    Mar 11 at 12:56










                  • Heads up, requires 30mb of ruby and assorted tools.
                    – Gringo Suave
                    Jun 5 at 2:38















                  up vote
                  5
                  down vote













                  I would just like to add i7z to this list. Contrary to the other options, this works better for CPUs in the i7, i5 and i3 series that have TurboBoost.






                  share|improve this answer





















                  • Exactly what I needed. And it also shows Vcore voltages, Turbo multipliers, C0 halts, etc. Very nice!
                    – Ohne Kleidung
                    Mar 11 at 12:56










                  • Heads up, requires 30mb of ruby and assorted tools.
                    – Gringo Suave
                    Jun 5 at 2:38













                  up vote
                  5
                  down vote










                  up vote
                  5
                  down vote









                  I would just like to add i7z to this list. Contrary to the other options, this works better for CPUs in the i7, i5 and i3 series that have TurboBoost.






                  share|improve this answer












                  I would just like to add i7z to this list. Contrary to the other options, this works better for CPUs in the i7, i5 and i3 series that have TurboBoost.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered May 13 '15 at 15:45









                  jmiserez

                  2,88511421




                  2,88511421












                  • Exactly what I needed. And it also shows Vcore voltages, Turbo multipliers, C0 halts, etc. Very nice!
                    – Ohne Kleidung
                    Mar 11 at 12:56










                  • Heads up, requires 30mb of ruby and assorted tools.
                    – Gringo Suave
                    Jun 5 at 2:38


















                  • Exactly what I needed. And it also shows Vcore voltages, Turbo multipliers, C0 halts, etc. Very nice!
                    – Ohne Kleidung
                    Mar 11 at 12:56










                  • Heads up, requires 30mb of ruby and assorted tools.
                    – Gringo Suave
                    Jun 5 at 2:38
















                  Exactly what I needed. And it also shows Vcore voltages, Turbo multipliers, C0 halts, etc. Very nice!
                  – Ohne Kleidung
                  Mar 11 at 12:56




                  Exactly what I needed. And it also shows Vcore voltages, Turbo multipliers, C0 halts, etc. Very nice!
                  – Ohne Kleidung
                  Mar 11 at 12:56












                  Heads up, requires 30mb of ruby and assorted tools.
                  – Gringo Suave
                  Jun 5 at 2:38




                  Heads up, requires 30mb of ruby and assorted tools.
                  – Gringo Suave
                  Jun 5 at 2:38










                  up vote
                  3
                  down vote













                  cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies





                  share|improve this answer

























                    up vote
                    3
                    down vote













                    cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies





                    share|improve this answer























                      up vote
                      3
                      down vote










                      up vote
                      3
                      down vote









                      cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies





                      share|improve this answer












                      cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies






                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Sep 6 '16 at 13:06









                      Vadimo

                      311




                      311






















                          up vote
                          3
                          down vote













                          I'd like to point out sudo is needed for Ian's answer above:



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


                          However you can get the same results without sudo using:



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


                          My favourite is to use Conky where you can paint your own picture:



                          Conky.gif



                          This sits on the right of my built-in display all the time. The relevant code for the CPU section is:



                          ${color2}${voffset 5}Intel® i-7 3630QM 3.4 GHz: ${color1}@  ${color green}${freq} MHz   
                          ${color}${goto 13}CPU 1 ${goto 81}${color green}${cpu cpu1}% ${goto 131}${color3}${cpubar cpu1 18}
                          ${color}${goto 13}CPU 2 ${goto 81}${color green}${cpu cpu2}% ${goto 131}${color3}${cpubar cpu2 18}
                          ${color}${goto 13}CPU 3 ${goto 81}${color green}${cpu cpu3}% ${goto 131}${color3}${cpubar cpu3 18}
                          ${color}${goto 13}CPU 4 ${goto 81}${color green}${cpu cpu4}% ${goto 131}${color3}${cpubar cpu4 18}
                          ${color}${goto 13}CPU 5 ${goto 81}${color green}${cpu cpu5}% ${goto 131}${color3}${cpubar cpu5 18}
                          ${color}${goto 13}CPU 6 ${goto 81}${color green}${cpu cpu6}% ${goto 131}${color3}${cpubar cpu6 18}
                          ${color}${goto 13}CPU 7 ${goto 81}${color green}${cpu cpu7}% ${goto 131}${color3}${cpubar cpu7 18}
                          ${color}${goto 13}CPU 8 ${goto 81}${color green}${cpu cpu8}% ${goto 131}${color3}${cpubar cpu8 18}
                          ${color1}All CPU ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 2 temp 1}°C ${goto 250}${color1}Up: ${color green}$uptime





                          share|improve this answer





















                          • Where is Conky and what is it?
                            – not2qubit
                            Apr 19 at 5:57










                          • @not2qubit I'll update this answer later but in the meantime see this Arch Linux article: wiki.archlinux.org/index.php/conky
                            – WinEunuuchs2Unix
                            Apr 19 at 10:03















                          up vote
                          3
                          down vote













                          I'd like to point out sudo is needed for Ian's answer above:



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


                          However you can get the same results without sudo using:



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


                          My favourite is to use Conky where you can paint your own picture:



                          Conky.gif



                          This sits on the right of my built-in display all the time. The relevant code for the CPU section is:



                          ${color2}${voffset 5}Intel® i-7 3630QM 3.4 GHz: ${color1}@  ${color green}${freq} MHz   
                          ${color}${goto 13}CPU 1 ${goto 81}${color green}${cpu cpu1}% ${goto 131}${color3}${cpubar cpu1 18}
                          ${color}${goto 13}CPU 2 ${goto 81}${color green}${cpu cpu2}% ${goto 131}${color3}${cpubar cpu2 18}
                          ${color}${goto 13}CPU 3 ${goto 81}${color green}${cpu cpu3}% ${goto 131}${color3}${cpubar cpu3 18}
                          ${color}${goto 13}CPU 4 ${goto 81}${color green}${cpu cpu4}% ${goto 131}${color3}${cpubar cpu4 18}
                          ${color}${goto 13}CPU 5 ${goto 81}${color green}${cpu cpu5}% ${goto 131}${color3}${cpubar cpu5 18}
                          ${color}${goto 13}CPU 6 ${goto 81}${color green}${cpu cpu6}% ${goto 131}${color3}${cpubar cpu6 18}
                          ${color}${goto 13}CPU 7 ${goto 81}${color green}${cpu cpu7}% ${goto 131}${color3}${cpubar cpu7 18}
                          ${color}${goto 13}CPU 8 ${goto 81}${color green}${cpu cpu8}% ${goto 131}${color3}${cpubar cpu8 18}
                          ${color1}All CPU ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 2 temp 1}°C ${goto 250}${color1}Up: ${color green}$uptime





                          share|improve this answer





















                          • Where is Conky and what is it?
                            – not2qubit
                            Apr 19 at 5:57










                          • @not2qubit I'll update this answer later but in the meantime see this Arch Linux article: wiki.archlinux.org/index.php/conky
                            – WinEunuuchs2Unix
                            Apr 19 at 10:03













                          up vote
                          3
                          down vote










                          up vote
                          3
                          down vote









                          I'd like to point out sudo is needed for Ian's answer above:



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


                          However you can get the same results without sudo using:



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


                          My favourite is to use Conky where you can paint your own picture:



                          Conky.gif



                          This sits on the right of my built-in display all the time. The relevant code for the CPU section is:



                          ${color2}${voffset 5}Intel® i-7 3630QM 3.4 GHz: ${color1}@  ${color green}${freq} MHz   
                          ${color}${goto 13}CPU 1 ${goto 81}${color green}${cpu cpu1}% ${goto 131}${color3}${cpubar cpu1 18}
                          ${color}${goto 13}CPU 2 ${goto 81}${color green}${cpu cpu2}% ${goto 131}${color3}${cpubar cpu2 18}
                          ${color}${goto 13}CPU 3 ${goto 81}${color green}${cpu cpu3}% ${goto 131}${color3}${cpubar cpu3 18}
                          ${color}${goto 13}CPU 4 ${goto 81}${color green}${cpu cpu4}% ${goto 131}${color3}${cpubar cpu4 18}
                          ${color}${goto 13}CPU 5 ${goto 81}${color green}${cpu cpu5}% ${goto 131}${color3}${cpubar cpu5 18}
                          ${color}${goto 13}CPU 6 ${goto 81}${color green}${cpu cpu6}% ${goto 131}${color3}${cpubar cpu6 18}
                          ${color}${goto 13}CPU 7 ${goto 81}${color green}${cpu cpu7}% ${goto 131}${color3}${cpubar cpu7 18}
                          ${color}${goto 13}CPU 8 ${goto 81}${color green}${cpu cpu8}% ${goto 131}${color3}${cpubar cpu8 18}
                          ${color1}All CPU ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 2 temp 1}°C ${goto 250}${color1}Up: ${color green}$uptime





                          share|improve this answer












                          I'd like to point out sudo is needed for Ian's answer above:



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


                          However you can get the same results without sudo using:



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


                          My favourite is to use Conky where you can paint your own picture:



                          Conky.gif



                          This sits on the right of my built-in display all the time. The relevant code for the CPU section is:



                          ${color2}${voffset 5}Intel® i-7 3630QM 3.4 GHz: ${color1}@  ${color green}${freq} MHz   
                          ${color}${goto 13}CPU 1 ${goto 81}${color green}${cpu cpu1}% ${goto 131}${color3}${cpubar cpu1 18}
                          ${color}${goto 13}CPU 2 ${goto 81}${color green}${cpu cpu2}% ${goto 131}${color3}${cpubar cpu2 18}
                          ${color}${goto 13}CPU 3 ${goto 81}${color green}${cpu cpu3}% ${goto 131}${color3}${cpubar cpu3 18}
                          ${color}${goto 13}CPU 4 ${goto 81}${color green}${cpu cpu4}% ${goto 131}${color3}${cpubar cpu4 18}
                          ${color}${goto 13}CPU 5 ${goto 81}${color green}${cpu cpu5}% ${goto 131}${color3}${cpubar cpu5 18}
                          ${color}${goto 13}CPU 6 ${goto 81}${color green}${cpu cpu6}% ${goto 131}${color3}${cpubar cpu6 18}
                          ${color}${goto 13}CPU 7 ${goto 81}${color green}${cpu cpu7}% ${goto 131}${color3}${cpubar cpu7 18}
                          ${color}${goto 13}CPU 8 ${goto 81}${color green}${cpu cpu8}% ${goto 131}${color3}${cpubar cpu8 18}
                          ${color1}All CPU ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 2 temp 1}°C ${goto 250}${color1}Up: ${color green}$uptime






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jul 13 '17 at 0:35









                          WinEunuuchs2Unix

                          39.6k1065147




                          39.6k1065147












                          • Where is Conky and what is it?
                            – not2qubit
                            Apr 19 at 5:57










                          • @not2qubit I'll update this answer later but in the meantime see this Arch Linux article: wiki.archlinux.org/index.php/conky
                            – WinEunuuchs2Unix
                            Apr 19 at 10:03


















                          • Where is Conky and what is it?
                            – not2qubit
                            Apr 19 at 5:57










                          • @not2qubit I'll update this answer later but in the meantime see this Arch Linux article: wiki.archlinux.org/index.php/conky
                            – WinEunuuchs2Unix
                            Apr 19 at 10:03
















                          Where is Conky and what is it?
                          – not2qubit
                          Apr 19 at 5:57




                          Where is Conky and what is it?
                          – not2qubit
                          Apr 19 at 5:57












                          @not2qubit I'll update this answer later but in the meantime see this Arch Linux article: wiki.archlinux.org/index.php/conky
                          – WinEunuuchs2Unix
                          Apr 19 at 10:03




                          @not2qubit I'll update this answer later but in the meantime see this Arch Linux article: wiki.archlinux.org/index.php/conky
                          – WinEunuuchs2Unix
                          Apr 19 at 10:03










                          up vote
                          2
                          down vote













                          If you are using an embedded ARM device (such as a Raspberry or ARM based phones), you will not be able to use solutions using lscpu, dmidecode or /proc/cpuinfo because the current speed is not listed there, if the tool is at all available. Instead you have to use sysfs:





                          alias getcpuf='i=1; for x in $(sudo cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq); do y=$(($x/1000)); echo "CPU-${i}: $y MHz"; i=$((i+1)); done;'

                          # getcpuf
                          CPU-1: 600 MHz
                          CPU-2: 600 MHz
                          CPU-3: 600 MHz
                          CPU-4: 600 MHz





                          share|improve this answer

























                            up vote
                            2
                            down vote













                            If you are using an embedded ARM device (such as a Raspberry or ARM based phones), you will not be able to use solutions using lscpu, dmidecode or /proc/cpuinfo because the current speed is not listed there, if the tool is at all available. Instead you have to use sysfs:





                            alias getcpuf='i=1; for x in $(sudo cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq); do y=$(($x/1000)); echo "CPU-${i}: $y MHz"; i=$((i+1)); done;'

                            # getcpuf
                            CPU-1: 600 MHz
                            CPU-2: 600 MHz
                            CPU-3: 600 MHz
                            CPU-4: 600 MHz





                            share|improve this answer























                              up vote
                              2
                              down vote










                              up vote
                              2
                              down vote









                              If you are using an embedded ARM device (such as a Raspberry or ARM based phones), you will not be able to use solutions using lscpu, dmidecode or /proc/cpuinfo because the current speed is not listed there, if the tool is at all available. Instead you have to use sysfs:





                              alias getcpuf='i=1; for x in $(sudo cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq); do y=$(($x/1000)); echo "CPU-${i}: $y MHz"; i=$((i+1)); done;'

                              # getcpuf
                              CPU-1: 600 MHz
                              CPU-2: 600 MHz
                              CPU-3: 600 MHz
                              CPU-4: 600 MHz





                              share|improve this answer












                              If you are using an embedded ARM device (such as a Raspberry or ARM based phones), you will not be able to use solutions using lscpu, dmidecode or /proc/cpuinfo because the current speed is not listed there, if the tool is at all available. Instead you have to use sysfs:





                              alias getcpuf='i=1; for x in $(sudo cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq); do y=$(($x/1000)); echo "CPU-${i}: $y MHz"; i=$((i+1)); done;'

                              # getcpuf
                              CPU-1: 600 MHz
                              CPU-2: 600 MHz
                              CPU-3: 600 MHz
                              CPU-4: 600 MHz






                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Apr 19 at 6:39









                              not2qubit

                              25627




                              25627






















                                  up vote
                                  1
                                  down vote













                                  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



























                                    up vote
                                    1
                                    down vote













                                    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

























                                      up vote
                                      1
                                      down vote










                                      up vote
                                      1
                                      down vote









                                      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














                                      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














                                      share|improve this answer



                                      share|improve this answer








                                      edited Feb 28 '16 at 20:11









                                      Community

                                      1




                                      1










                                      answered Nov 20 '12 at 18:44









                                      Gord Campbell

                                      331




                                      331






















                                          up vote
                                          1
                                          down vote













                                          Here is a straightforward way to get cpu frequencies for all CPU threads:




                                          1. Be sure that cpufrequtils is installed.



                                          2. Then in a terminal, run the following command:



                                            cpufreq-info | grep "frequency is"







                                          share|improve this answer



























                                            up vote
                                            1
                                            down vote













                                            Here is a straightforward way to get cpu frequencies for all CPU threads:




                                            1. Be sure that cpufrequtils is installed.



                                            2. Then in a terminal, run the following command:



                                              cpufreq-info | grep "frequency is"







                                            share|improve this answer

























                                              up vote
                                              1
                                              down vote










                                              up vote
                                              1
                                              down vote









                                              Here is a straightforward way to get cpu frequencies for all CPU threads:




                                              1. Be sure that cpufrequtils is installed.



                                              2. Then in a terminal, run the following command:



                                                cpufreq-info | grep "frequency is"







                                              share|improve this answer














                                              Here is a straightforward way to get cpu frequencies for all CPU threads:




                                              1. Be sure that cpufrequtils is installed.



                                              2. Then in a terminal, run the following command:



                                                cpufreq-info | grep "frequency is"








                                              share|improve this answer














                                              share|improve this answer



                                              share|improve this answer








                                              edited Nov 21 at 12:05









                                              abu_bua

                                              3,03771022




                                              3,03771022










                                              answered Mar 24 at 17:53









                                              Hypersphere

                                              494




                                              494






















                                                  up vote
                                                  0
                                                  down vote













                                                  I wanted to share this as a comment, but dont have many reputations on askubuntu, People who want to use indicator-cpufreq do not need to reboot the computer. Resetting the current X session is enough to display the icon.



                                                  sudo apt-get install indicator-cpufreq   
                                                  DISPLAY=:0 compiz --replace


                                                  You can validate the Performance and Powersave option by seeing the current frequency by



                                                  watch -d "cat /proc/cpuinfo | grep -i Mhz"


                                                  As soon as you click on a lower frequency / Powersave, the powermanagement of the CPU kicks in, thereby reducing the clock cycle.






                                                  share|improve this answer

























                                                    up vote
                                                    0
                                                    down vote













                                                    I wanted to share this as a comment, but dont have many reputations on askubuntu, People who want to use indicator-cpufreq do not need to reboot the computer. Resetting the current X session is enough to display the icon.



                                                    sudo apt-get install indicator-cpufreq   
                                                    DISPLAY=:0 compiz --replace


                                                    You can validate the Performance and Powersave option by seeing the current frequency by



                                                    watch -d "cat /proc/cpuinfo | grep -i Mhz"


                                                    As soon as you click on a lower frequency / Powersave, the powermanagement of the CPU kicks in, thereby reducing the clock cycle.






                                                    share|improve this answer























                                                      up vote
                                                      0
                                                      down vote










                                                      up vote
                                                      0
                                                      down vote









                                                      I wanted to share this as a comment, but dont have many reputations on askubuntu, People who want to use indicator-cpufreq do not need to reboot the computer. Resetting the current X session is enough to display the icon.



                                                      sudo apt-get install indicator-cpufreq   
                                                      DISPLAY=:0 compiz --replace


                                                      You can validate the Performance and Powersave option by seeing the current frequency by



                                                      watch -d "cat /proc/cpuinfo | grep -i Mhz"


                                                      As soon as you click on a lower frequency / Powersave, the powermanagement of the CPU kicks in, thereby reducing the clock cycle.






                                                      share|improve this answer












                                                      I wanted to share this as a comment, but dont have many reputations on askubuntu, People who want to use indicator-cpufreq do not need to reboot the computer. Resetting the current X session is enough to display the icon.



                                                      sudo apt-get install indicator-cpufreq   
                                                      DISPLAY=:0 compiz --replace


                                                      You can validate the Performance and Powersave option by seeing the current frequency by



                                                      watch -d "cat /proc/cpuinfo | grep -i Mhz"


                                                      As soon as you click on a lower frequency / Powersave, the powermanagement of the CPU kicks in, thereby reducing the clock cycle.







                                                      share|improve this answer












                                                      share|improve this answer



                                                      share|improve this answer










                                                      answered Jul 12 '16 at 16:30









                                                      infoclogged

                                                      386111




                                                      386111






















                                                          up vote
                                                          0
                                                          down vote













                                                          Sample output of cat /proc/cpuinfo



                                                          processor   : 0
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 774.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 0
                                                          cpu cores : 2
                                                          apicid : 0
                                                          initial apicid : 0
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:

                                                          processor : 1
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 1600.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 0
                                                          cpu cores : 2
                                                          apicid : 1
                                                          initial apicid : 1
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:

                                                          processor : 2
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 800.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 1
                                                          cpu cores : 2
                                                          apicid : 2
                                                          initial apicid : 2
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:

                                                          processor : 3
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 774.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 1
                                                          cpu cores : 2
                                                          apicid : 3
                                                          initial apicid : 3
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:


                                                          Here cpu MHz means current cpu frequency.
                                                          You can run cpufreq-info to understand easily.






                                                          share|improve this answer























                                                          • redundant and long !
                                                            – Rishav Ambasta
                                                            Dec 1 '16 at 6:24















                                                          up vote
                                                          0
                                                          down vote













                                                          Sample output of cat /proc/cpuinfo



                                                          processor   : 0
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 774.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 0
                                                          cpu cores : 2
                                                          apicid : 0
                                                          initial apicid : 0
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:

                                                          processor : 1
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 1600.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 0
                                                          cpu cores : 2
                                                          apicid : 1
                                                          initial apicid : 1
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:

                                                          processor : 2
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 800.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 1
                                                          cpu cores : 2
                                                          apicid : 2
                                                          initial apicid : 2
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:

                                                          processor : 3
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 774.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 1
                                                          cpu cores : 2
                                                          apicid : 3
                                                          initial apicid : 3
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:


                                                          Here cpu MHz means current cpu frequency.
                                                          You can run cpufreq-info to understand easily.






                                                          share|improve this answer























                                                          • redundant and long !
                                                            – Rishav Ambasta
                                                            Dec 1 '16 at 6:24













                                                          up vote
                                                          0
                                                          down vote










                                                          up vote
                                                          0
                                                          down vote









                                                          Sample output of cat /proc/cpuinfo



                                                          processor   : 0
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 774.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 0
                                                          cpu cores : 2
                                                          apicid : 0
                                                          initial apicid : 0
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:

                                                          processor : 1
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 1600.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 0
                                                          cpu cores : 2
                                                          apicid : 1
                                                          initial apicid : 1
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:

                                                          processor : 2
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 800.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 1
                                                          cpu cores : 2
                                                          apicid : 2
                                                          initial apicid : 2
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:

                                                          processor : 3
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 774.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 1
                                                          cpu cores : 2
                                                          apicid : 3
                                                          initial apicid : 3
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:


                                                          Here cpu MHz means current cpu frequency.
                                                          You can run cpufreq-info to understand easily.






                                                          share|improve this answer














                                                          Sample output of cat /proc/cpuinfo



                                                          processor   : 0
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 774.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 0
                                                          cpu cores : 2
                                                          apicid : 0
                                                          initial apicid : 0
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:

                                                          processor : 1
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 1600.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 0
                                                          cpu cores : 2
                                                          apicid : 1
                                                          initial apicid : 1
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:

                                                          processor : 2
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 800.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 1
                                                          cpu cores : 2
                                                          apicid : 2
                                                          initial apicid : 2
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:

                                                          processor : 3
                                                          vendor_id : GenuineIntel
                                                          cpu family : 6
                                                          model : 69
                                                          model name : Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
                                                          stepping : 1
                                                          microcode : 0x17
                                                          cpu MHz : 774.000
                                                          cache size : 4096 KB
                                                          physical id : 0
                                                          siblings : 4
                                                          core id : 1
                                                          cpu cores : 2
                                                          apicid : 3
                                                          initial apicid : 3
                                                          fpu : yes
                                                          fpu_exception : yes
                                                          cpuid level : 13
                                                          wp : yes
                                                          flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
                                                          bogomips : 3591.40
                                                          clflush size : 64
                                                          cache_alignment : 64
                                                          address sizes : 39 bits physical, 48 bits virtual
                                                          power management:


                                                          Here cpu MHz means current cpu frequency.
                                                          You can run cpufreq-info to understand easily.







                                                          share|improve this answer














                                                          share|improve this answer



                                                          share|improve this answer








                                                          edited Dec 1 '16 at 5:38

























                                                          answered Dec 1 '16 at 5:15









                                                          alhelal

                                                          6512830




                                                          6512830












                                                          • redundant and long !
                                                            – Rishav Ambasta
                                                            Dec 1 '16 at 6:24


















                                                          • redundant and long !
                                                            – Rishav Ambasta
                                                            Dec 1 '16 at 6:24
















                                                          redundant and long !
                                                          – Rishav Ambasta
                                                          Dec 1 '16 at 6:24




                                                          redundant and long !
                                                          – Rishav Ambasta
                                                          Dec 1 '16 at 6:24










                                                          up vote
                                                          0
                                                          down vote













                                                          In a Linux terminal type the following command to get the CPU core name and it's current speed:



                                                          cat /proc/cpuinfo | grep -E "model name|cpu MHz"






                                                          share|improve this answer

























                                                            up vote
                                                            0
                                                            down vote













                                                            In a Linux terminal type the following command to get the CPU core name and it's current speed:



                                                            cat /proc/cpuinfo | grep -E "model name|cpu MHz"






                                                            share|improve this answer























                                                              up vote
                                                              0
                                                              down vote










                                                              up vote
                                                              0
                                                              down vote









                                                              In a Linux terminal type the following command to get the CPU core name and it's current speed:



                                                              cat /proc/cpuinfo | grep -E "model name|cpu MHz"






                                                              share|improve this answer












                                                              In a Linux terminal type the following command to get the CPU core name and it's current speed:



                                                              cat /proc/cpuinfo | grep -E "model name|cpu MHz"







                                                              share|improve this answer












                                                              share|improve this answer



                                                              share|improve this answer










                                                              answered Nov 2 '17 at 14:58









                                                              Francisco Tomé Costa

                                                              192211




                                                              192211






















                                                                  up vote
                                                                  0
                                                                  down vote













                                                                  sudo powertop then hit Tab twice to get to the "Frequency stats" tab.



                                                                  It displays Actual frequency (accurate on my Laptop, as opposed to dmidecode), along with stats about how long is spent in each available frequency.






                                                                  share|improve this answer

























                                                                    up vote
                                                                    0
                                                                    down vote













                                                                    sudo powertop then hit Tab twice to get to the "Frequency stats" tab.



                                                                    It displays Actual frequency (accurate on my Laptop, as opposed to dmidecode), along with stats about how long is spent in each available frequency.






                                                                    share|improve this answer























                                                                      up vote
                                                                      0
                                                                      down vote










                                                                      up vote
                                                                      0
                                                                      down vote









                                                                      sudo powertop then hit Tab twice to get to the "Frequency stats" tab.



                                                                      It displays Actual frequency (accurate on my Laptop, as opposed to dmidecode), along with stats about how long is spent in each available frequency.






                                                                      share|improve this answer












                                                                      sudo powertop then hit Tab twice to get to the "Frequency stats" tab.



                                                                      It displays Actual frequency (accurate on my Laptop, as opposed to dmidecode), along with stats about how long is spent in each available frequency.







                                                                      share|improve this answer












                                                                      share|improve this answer



                                                                      share|improve this answer










                                                                      answered Jan 28 at 5:13









                                                                      Rolf

                                                                      20125




                                                                      20125






















                                                                          up vote
                                                                          0
                                                                          down vote













                                                                          This is my favorite:



                                                                          watch -n1 "cat /proc/cpuinfo | grep 'MHz'"


                                                                          Although if you have Turbo Boost (or Turbo Core if AMD), you'll probably prefer:



                                                                          sudo watch -n 1 -d cpupower monitor


                                                                          which uses cpupower from the linux-tools group.






                                                                          share|improve this answer



























                                                                            up vote
                                                                            0
                                                                            down vote













                                                                            This is my favorite:



                                                                            watch -n1 "cat /proc/cpuinfo | grep 'MHz'"


                                                                            Although if you have Turbo Boost (or Turbo Core if AMD), you'll probably prefer:



                                                                            sudo watch -n 1 -d cpupower monitor


                                                                            which uses cpupower from the linux-tools group.






                                                                            share|improve this answer

























                                                                              up vote
                                                                              0
                                                                              down vote










                                                                              up vote
                                                                              0
                                                                              down vote









                                                                              This is my favorite:



                                                                              watch -n1 "cat /proc/cpuinfo | grep 'MHz'"


                                                                              Although if you have Turbo Boost (or Turbo Core if AMD), you'll probably prefer:



                                                                              sudo watch -n 1 -d cpupower monitor


                                                                              which uses cpupower from the linux-tools group.






                                                                              share|improve this answer














                                                                              This is my favorite:



                                                                              watch -n1 "cat /proc/cpuinfo | grep 'MHz'"


                                                                              Although if you have Turbo Boost (or Turbo Core if AMD), you'll probably prefer:



                                                                              sudo watch -n 1 -d cpupower monitor


                                                                              which uses cpupower from the linux-tools group.







                                                                              share|improve this answer














                                                                              share|improve this answer



                                                                              share|improve this answer








                                                                              edited Apr 9 at 22:20

























                                                                              answered Jul 12 '17 at 6:57









                                                                              Marc.2377

                                                                              156115




                                                                              156115






























                                                                                   

                                                                                  draft saved


                                                                                  draft discarded



















































                                                                                   


                                                                                  draft saved


                                                                                  draft discarded














                                                                                  StackExchange.ready(
                                                                                  function () {
                                                                                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f218567%2fany-way-to-check-the-clock-speed-of-my-processor%23new-answer', 'question_page');
                                                                                  }
                                                                                  );

                                                                                  Post as a guest















                                                                                  Required, but never shown





















































                                                                                  Required, but never shown














                                                                                  Required, but never shown












                                                                                  Required, but never shown







                                                                                  Required, but never shown

































                                                                                  Required, but never shown














                                                                                  Required, but never shown












                                                                                  Required, but never shown







                                                                                  Required, but never shown







                                                                                  Popular posts from this blog

                                                                                  flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                                                                                  Mangá

                                                                                   ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕