Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

lscpu

Display CPU architecture info

Syntax

lscpu [OPTION]...

Common Options

-aShow all CPUs
-bShow online CPUs only
-cShow offline CPUs only
-eShow in extended format
-pShow in parseable format

Common Examples

lscpu

Show CPU info

lscpu -e

Show in extended format

lscpu | grep "Model name"

Check CPU model

lscpu -p

Parseable format

Related Commands

Related Tools

More Code & Dev Tools