List CPU Details with lscpu
lscpu prints the CPU model, socket/core/thread layout, base frequency, and supported instruction flags in a clean summary.
Run `lscpu` to show CPU model, core count, and feature flags.
01Command
Command
$ lscpu02What it does
'CPU(s)' counts logical threads, while 'Core(s) per socket' × 'Socket(s)' gives physical cores — a 16-CPU box may be only 8 physical cores with hyperthreading. Check the Flags line for vt-x/amd-v (nested virtualization), avx, or aes support before running workloads. Use `lscpu -e` for a per-core table and `lscpu -p` for machine-parsable output.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- lscpu(1) - Linux manual pageEvidence: lscpu displays information about the CPU architecture, including model name, CPU(s), core(s) per socket, and flags, gathered from sysfs and /proc/cpuinfo.
Last verified: 2026-09-17 · Category: System & Settings