How to show CPU information in Linux - Number of CPUs, speed ...
Have you ever had the need to see the features of your processor under Linux environment and have not found a way to do it, well, in the Linux file system directory find proc (/proc) which is a pseudo-system files used as an interface to kernel data structures or core system.
How to show CPU information
For information on our CPU is needed to use the cpuinfo file that is under the proc directory (/proc/cpuinfo). This file contains information such as CPU manufacturer, family, model, model name easily identifiable by its trade name, clock speed, cache size, core, flags, among other information.
To view the information referred to simply run the following command:
$ less /proc/cpuinfo
And we will show some information similar to the following (not necessarily equal to that of your computer).
How to show CPU information
For information on our CPU is needed to use the cpuinfo file that is under the proc directory (/proc/cpuinfo). This file contains information such as CPU manufacturer, family, model, model name easily identifiable by its trade name, clock speed, cache size, core, flags, among other information.
To view the information referred to simply run the following command:
$ less /proc/cpuinfo
And we will show some information similar to the following (not necessarily equal to that of your computer).
processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 6 model name : Intel(R) Pentium(R) D CPU 3.60GHz stepping : 4 cpu MHz : 3590.908 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 6 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 lm constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow bogomips : 7181.81 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 6 model name : Intel(R) Pentium(R) D CPU 3.60GHz stepping : 4 cpu MHz : 3590.908 cache size : 2048 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 6 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 lm constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow bogomips : 7182.31 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management:
0 Comments:
Post a Comment