Know Your CPU in your linux machine ==== lscpu =====
“Know your CPU in your Linux Machine”
=== lscpu ===
Details:
lscpu – display information about the CPU architecture
lscpu gathers CPU architecture information from sysfs, /proc/cpuinfo and any applicable architecture-specific libraries
The lscpu command is the most comprehensive tool for displaying CPU information. It provides detailed information about the CPU architecture, including the number of CPUs, cores, threads, sockets, CPU family, model, and stepping.
Intel Core i5-3470S
S – Power-Optimized Lifestyle (Power-efficient variant)
K – Unlocked for Overclocking
H – High-Performance Graphics (Common in mobile processors)
T – Power-Optimized for Energy Efficiency
F – No Integrated Graphics
E – Embedded
U – Ultra-Low Power for Mobile Devices
Y – Extremely Low Power for Tablets and 2-in-1s
C – Special Configurations
G – Discrete Graphics (Common in newer mobile processors)
kabir@fedora:~$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 36 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM) i5-3470S CPU @ 2.90GHz
CPU family: 6
Model: 58
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Stepping: 9
CPU(s) scaling MHz: 54%
CPU max MHz: 3600.0000
CPU min MHz: 1600.0000
BogoMIPS: 5786.85
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 sy
scall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_goo
d nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq d
tes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pci
d sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave av
x f16c rdrand lahf_lm cpuid_fault epb pti ssbd ibrs ibpb stib
p tpr_shadow flexpriority ept vpid fsgsbase smep erms xsaveop
t dtherm ida arat pln pts vnmi md_clear flush_l1d
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 128 KiB (4 instances)
L1i: 128 KiB (4 instances)
L2: 1 MiB (4 instances)
L3: 6 MiB (1 instance)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-3
Vulnerabilities:
Gather data sampling: Not affected
Itlb multihit: KVM: Mitigation: VMX disabled
L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT
disabled
Mds: Mitigation; Clear CPU buffers; SMT disabled
Meltdown: Mitigation; PTI
Mmio stale data: Unknown: No mitigations
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 sanitization
Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW,
STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
Srbds: Vulnerable: No microcode
Tsx async abort: Not affected
[ad_2]
source