OS Manuals

/usr/bin/lscpu

Misc binaries for util-linux

From util-linux-misc 2.42.4-r2 (os), captured 2026-11-05 by running lscpu --help (exit 0). permalink

Usage:
 lscpu [options]

Display information about the CPU architecture.

Options:
 -a, --all               print both online and offline CPUs (default for -e)
 -b, --online            print online CPUs only (default for -p)
 -B, --bytes             print sizes in bytes rather than in human readable format
 -C, --caches[=<list>]   info about caches in extended readable format
 -c, --offline           print offline CPUs only
 -J, --json              use JSON for default or extended format
 -e, --extended[=<list>] print out an extended readable format
 -p, --parse[=<list>]    print out a parsable format
 -r, --raw               use raw output format (for -e, -p and -C)
 -s, --sysroot <dir>     use specified directory as system root
 -x, --hex               print hexadecimal masks rather than lists of CPUs
     --annotate[=<when>] annotate columns with a tooltip (always|never|auto)
 -y, --physical          print physical instead of logical IDs
     --hierarchic[=when] use subsections in summary (auto, never, always)
     --output-all        print all available columns for -e, -p or -C
     --arm-id[=<id>]     print the known ARM implementers and their names. If an id is given, print all the cores for that implementer.
     --arm-model <id>    print the name of the given ARM implementer and model. Requires --arm-id=<id>.

 -H, --list-columns      list the available columns
 -h, --help              display this help
 -V, --version           display version

For more details see lscpu(1).
Options (20)
OptionDescriptionSource
-a, --allInclude lines for online and offline CPUs in the output (default for -e).help + man
-b, --onlineLimit the output to online CPUs (default for -p).help + man
-B, --bytesprint sizes in bytes rather than in human readable formathelp + man
-C, --caches listinfo about caches in extended readable formathelp + man
-c, --offlineLimit the output to offline CPUs.help + man
-J, --jsonUse JSON output format for the default summary or extended output (see --extended).help + man
-p, --parse listOptimize the command output for easy parsing.help + man
-r, --rawuse raw output format (for -e, -p and -C)help + man
-s, --sysroot dirGather CPU data for a Linux instance other than the instance from which the lscpu command is issued.help + man
-x, --hexUse hexadecimal masks for CPU sets (for example "ff").help + man
-y, --physicalDisplay physical IDs for all columns with topology elements (core, socket, etc.).help + man
--output-allprint all available columns for -e, -p or -Chelp + man
--arm-id idPrint a list of the known ARM core implementers and their human readable names.help + man
--arm-model idprint the name of the given ARM implementer and model.help + man
-H, --list-columnsList the columns that can be specified with the --extended, --parse and --caches options.help + man
-h, --helpDisplay help text and exit.help + man
-V, --versionDisplay version and exit.help + man
-e, --extended listDisplay the CPU information in human-readable format. (in the manual page but not in --help)man
--hierarchic whenUse subsections in summary output. (in the manual page but not in --help)man
--annotate whenAdds an annotation to each column header name. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.