GNU/Linux |
Debian 6.0.7(Squeeze) |
|
![]() |
lscpu(1) |
![]() |
lscpu − CPU architecture information helper
lscpu [−hp]
lscpu 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 <qcai@redhat.com>
The setarch command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
![]() |
lscpu(1) | ![]() |