Technology and General Blog

The Central Processing Unit (CPU) is regarded an crucial part in any procedure. It is also referred the “Computer’s Brain” mainly because it handles all types of data processing operations. CPU is embedded in any technique dependent on various requirements frequency is just one of them. The CPU frequency is also recognised as Clock velocity or Clock charge. The clock velocity of your CPU figures out how promptly it can method directions per 2nd. It is a device of measurement for the selection of your CPU execution, expressed in MHz or GHz.

But have you ever assumed of being aware of what kind of CPU your laptop or computer has and how rapid it operates? There exist several reasons why you would want to know what CPU you have in your system. Potentially you are troubleshooting any hardware issue or loading a kernel module. Regardless of what the bring about is, figuring out the CPU pace and style from the command line is pretty quick in Linux. Various instructions can be utilized for getting details about your processor, which include CPU frequency. In this article, we have compiled some of individuals commands to get to know your CPU better.

Dmseg command

Dmseg is applied for exhibiting messages from the ring buffer of the kernel. In the following case in point, we have blended the Dmseg command with grep for filtering out the CPU velocity from other linked info.

lscpu command

lscpu command helps you to know about your CPU architecture. Lscpu pre-exists in the util-Linux package. Compose out the under-presented command in your terminal.

In the output, look at out the “CPU MHz.”

i7z command

i7z is an exceptional resource for retrieving the processor states in Intel-dependent CPUs these types of as i3, i5, and i7.

Executing this command will supply you the adhering to facts:

Retrieving CPU pace from “/proc/cpuinfo” file

The “/proc/cpuinfo” file has all content material associated to the individual CPU cores. Now we will benefit from the ‘grep’ and ‘cat’ command to only extract the facts about the CPU pace from this file.

$ cat /proc/cpuinfo | grep MHz

As an alternative of working with “grep,” you can also use the “less” command for the exact same execution purpose.

hwinfo command

In the terminal, the in depth info about every hardware unit can be printed working with “hwinfo.” We will specify the “–cpu” parameter in the “hwinfo” command for exhibiting only the CPU pace.

inxi script

inxi is a strong Linux script that permits you to print out the system’s hardware facts. Execute the inxi command in your terminal with the “-C” possibility for exhibiting the processor-relevant information and facts.


As a end result of efficient technological know-how, we have made a need to have for velocity all over the place we go. CPU and its frequency or clock speed are the most widely related qualities with the high-performance of any computer. This submit looks at how to get CPU speed particulars applying different commands in Linux.

Leave a Reply

Your email address will not be published. Required fields are marked *