Beginner Package: util-linux

lscpu

Display CPU architecture information.

Syntax

lscpu

Description

lscpu prints a readable summary of the CPU: architecture, core and thread counts, sockets, cache sizes and supported instruction flags, gathered from /proc/cpuinfo and sysfs.

Examples

lscpu
Show a full summary of the CPU
lscpu | grep -i "model name"
Show just the CPU model line

Applies to

Ubuntu Debian Linux Mint RHEL CentOS / Rocky / AlmaLinux Fedora Arch Linux openSUSE Alpine Linux