Команда lscpu - это утилита командной строки, которая выводит подробную информацию об архитектуре центрального процессора (CPU).
lscpu показывает следующую информацию:
Получить общую информацию о процессоре(ах):
lscpu
Вывод в терминале:
Архитектура: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 39 bits physical, 48 bits virtual
Порядок байт: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
ID прроизводителя: GenuineIntel
Имя модели: 12th Gen Intel(R) Core(TM) i3-12100F
Семейство ЦПУ: 6
Модель: 151
Потоков на ядро: 2
Ядер на сокет: 4
Сокетов: 1
Степпинг: 5
CPU(s) scaling MHz: 19%
CPU max MHz: 4300,0000
CPU min MHz: 800,0000
BogoMIPS: 6604,80
Флаги: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cm
ov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pb
e syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmo
n pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfm
perf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx
est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x
2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rd
rand lahf_lm abm 3dnowprefetch cpuid_fault ssbd ibrs ibpb s
tibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad
fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed
adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec x
getbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm
ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_
pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqd
q rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr
ibt flush_l1d arch_capabilities ibpb_exit_to_user
Virtualization features:
Виртуализация: VT-x
Caches (sum of all):
L1d: 192 KiB (4 instances)
L1i: 128 KiB (4 instances)
L2: 5 MiB (4 instances)
L3: 12 MiB (1 instance)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-7
Vulnerabilities:
Gather data sampling: Not affected
Indirect target selection: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Reg file data sampling: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer san
itization
Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; PB
RSB-eIBRS SW sequence; BHI BHI_DIS_S
Srbds: Not affected
Tsa: Not affected
Tsx async abort: Not affected
Vmscape: Mitigation; IBPB before exit to userspace