![]() lshw by default shows information about various hardware parts, and the ‘-class’ option can be used to pickup information about a specific hardware part. The lshw command can display limited information about the cpu. Hardinfo also performs a few benchmark tests taking a few minutes before the report is displayed. The report can also be written to a text file. The cpu information is towards the beginning of the report. It would produce a large report about many hardware parts, by reading files from the /proc directory. But it can also run from the command line only if there is no gui display available. Hardinfo is a gtk based gui tool that generates reports about various hardware components. It would simply print the cpu hardware details in a user-friendly format. Lscpu is a small and quick command that does not need any options. This indicates that there are 4 actual cores. To get the actual number of cores, check the core id for unique values $ cat /proc/cpuinfo | grep 'core id' For example a processor with 2 cores and hyperthreading would be reported as a processor with 4 cores. ![]() To count the number of processing units use grep with wc $ cat /proc/cpuinfo | grep processor | wc -lĤ The number of processors shown by /proc/cpuinfo might not be the actual number of cores on the processor. Model name : Intel(R) Core(TM)2 Quad CPU Q8400 2.66GHzįlags : 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 arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dtherm tpr_shadow vnmi flexpriorityĪddress sizes : 36 bits physical, 48 bits virtualĮvery processor or core is listed separately the various details about speed, cache size and model name are included in the description. The /proc/cpuinfo file contains details about individual cpu cores. There are quite a few commands on linux to get those details about the cpu hardware, and here is a brief about some of the commands. flags – Defines a number of different processor attributes, such as the presence of a floating-point unit (FPU) and the ability to process MMX instructions.The cpu information includes details about the processor, like the architecture, vendor name, model, number of cores, speed of each core etc.cache size – Tells you the amount of level 2 memory cache available to the processor.cpu MHz – Shows the processor’s precise speed, in megahertz, to the thousandth decimal point.model name – Gives you the common name of the processor, including the project name.This is helpful to determine the type of architecture of an older system and is helpful in determining which compiled RPM package would best suit that system. If your computer is an Intel-based system, simply place the number in front of “86” to determine the value. cpu family – Authoritatively tells you the type of processor you have in the system.If you have more than one processor it will display all processor information separately counting the processors using zero notation. If you have one processor it will display a 0. processor – Provides each processor with an identifying number.Model name : Intel(R) Xeon(R) CPU E5-2660 0 2.20GHzįlags : 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 xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveoptĪddress sizes : 46 bits physical, 48 bits virtualīelow is the various items you would see in the output and their respective explanations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |