How to Check CPU Speed on Linux
The easiest way to check CPU speed and CPU model on Linux is to issue the below command from the CLI.
- more /proc/cpuinfo | egrep 'model name|cpu MHz'
This will return results like the below that will list CPU model name on one line followed by CPU speed on the next line.
- [root@server ~]# less /proc/cpuinfo | egrep 'model name|cpu MHz'
- model name : Dual-Core AMD Opteron(tm) Processor 2212
- cpu MHz : 2010.302
- model name : Dual-Core AMD Opteron(tm) Processor 2212
- cpu MHz : 2010.302
- model name : Dual-Core AMD Opteron(tm) Processor 2212
- cpu MHz : 2010.302
- model name : Dual-Core AMD Opteron(tm) Processor 2212
- cpu MHz : 2010.302