NetMarketShare reports that 1.84 percent out of the considerable number of PCs associated with the web were running Linux, and Chrome OS, which is a Linux variation, has about 0.29 percent. These might appear little numbers, yet when you think about that more than 250 million PCs are sold each year, the quantity of PCs running Linux that is associated with the web go up to in excess of a million. In the event that you happen to be one of them or on the off chance that you have a companion or associate who has a Linux PC and necessities help with finding out about processor or CPU subtleties.
The most effective method to check processor subtleties in linux
Look no further. The various directions that you have to use so as to learn insights concerning the processor like the quantity of centers, accessibility of hyper stringing, design, reserve size and so forth are many, and these incorporate Iscpu,/proc/cpuinfo and Istopo (hwloc). They give point by point data about cpu centers/handling units. The models that are given beneath disclose how to approach deciphering the information that is acquired.
Merchant and model of processor
Search the/proc/cpuinfo record with the grep order.
$ feline/proc/cpuinfo | grep merchant | uniq
vendor_id : GenuineIntel
When you become familiar with the name of the processor, you can go through the model name to look the accurate particulars online on Intel’s site.
$ feline/proc/cpuinfo | grep ‘model name’ | uniq
model name : Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz
Engineering
The Iscpu direction can be utilized to study the design
$ lscpu
Engineering: x86_64
CPU operation mode(s): 32-piece, 64-piece
Byte Order: Little Endian
…..
This demonstrates the engineering is x86_64 which is 64 piece.
Recurrence
The recurrence/speed of the processor is accounted for by both Iscpu and/proc/cpuinfo
$ lscpu | grep – I mhz
CPU MHz: 1998.000
$ feline/proc/cpuinfo | grep – I mhz | uniq
cpu MHz : 1998.000
The quantity of centers
On the off chance that you have different centers in your CPU, your processor speed will likewise be a lot quicker.
The Iscpu direction will show the “centers per attachment”
$ lscpu
Engineering: x86_64
CPU operation mode(s): 32-piece, 64-piece
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per center: 1
Core(s) per attachment: 4
Socket(s): 1
Yet, tallying just the quantity of processors would give you wrong numbers in light of the fact that, in hyperthreaded processors, the quantity of processors that the working framework sees is double the quantity of centers. Anyway/proc/cpuinfo has a field that is named ‘center id’ which is a remarkable id for each center in a solitary processor. To know the real number of centers last on the processor, you can tally the center id.
$ feline/proc/cpuinfo | grep – I ‘center id’
center id : 0
center id : 2
Hyper stringing
Hyper stringing enables singular centers to carry on like 2 consistent preparing last units. This will expand the handling intensity of each center. You should contrast two distinct qualities with learn if a processor has stringing despite or not.
In the event that the quantity of handling units is equivalent to the quantity of centers, that implies there is no hyper stringing. On the off chance that the quantity of handling units is more than the quantity of centers, at that point there is hyperthreading.