![]() ![]() Model name: Intel (R ) Core (TM ) i5-4210U CPU 1.70GHzį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 nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln ptsģ. Lệnh lscpu in ra kiến trúc của CPU từ sysfs và /proc/cpuinfo: $ lscpu $ cat /proc/cpuinfo | grep 'core id' #show individual cores 2. ![]() $ cat /proc/cpuinfo | grep processor | wc -l #count the number of processing units $ cat /proc/cpuinfo | grep 'model name' | uniq #display model name Vd muốn lấy thông tin của vendor, model, số lượng cpu, số core.: $ cat /proc/cpuinfo | grep 'vendor' | uniq #view vendor name Muốn lấy thông tin cụ thể có thể kết hợp với lệnh grep. Model name : Intel(R) Core(TM) i5-4210U CPU 1.70GHzį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 nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln ptsĪddress sizes : 39 bits physical, 48 bits virtual Có thể xem thông tin của của CPU bằng cách xem nội dùng của file /proc/cpuinfo bằng lệnh sau: $ cat /proc/cpuinfo
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |