![]() ![]() 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. The cpu information includes details about the processor, like the architecture, vendor name, model, number of cores, speed of each core etc. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |