lscpu

Displays information about the CPU architecture. More information: <https://manned.org/lscpu>.

Install

All systems
curl cmd.cat/lscpu.sh
Debian Debian
apt-get install util-linux
Ubuntu
apt-get install util-linux
Alpine
apk add util-linux
Arch Arch Linux
pacman -S util-linux
image/svg+xml Kali Linux
apt-get install util-linux
CentOS
yum install util-linux
Fedora
dnf install util-linux
Windows (WSL2)
sudo apt-get update sudo apt-get install util-linux
OS X
brew install util-linux
Raspbian
apt-get install util-linux
Docker
docker run cmd.cat/lscpu lscpu powered by Commando

Displays information about the CPU architecture. More information: <https://manned.org/lscpu>.

  • Display information about all CPUs:
    lscpu
  • Display information in a table:
    lscpu --extended
  • Display only information about offline CPUs in a table:
    lscpu --extended --offline

© tl;dr; authors and contributors