Section: User Manuals (1)
Updated: JULY 2008
Return to Main Contents
lscpu - CPU architecture information helper
gathers CPU architecture information like number of CPUs, threads,
cores, sockets, NUMA nodes, information about CPU caches, CPU family,
model and stepping from sysfs and /proc/cpuinfo, and prints it in
human-readable format. Alternatively, it can print out in parsable
format including how different caches are shared by different CPUs,
which can also be fed to other programs.
- -h, --help
Print a help message.
- -p, --parse
Print out in parsable instead of printable format.
The program at the moment does not handle the system installed with
different types of physical processors.
Sometimes in Xen Dom0 kernel reports wrong data.
Cai Qian <email@example.com>
The setarch command is part of the util-linux-ng package and is available from
This document was created by
using the manual pages.