1
1
.\" Process this file with
2
2
.\" groff -man -Tascii lscpu.1
4
.TH LSCPU 1 "JULY 2008" Linux "User Manuals"
4
.TH LSCPU 1 "February 2011" Linux "User Manuals"
6
6
lscpu \- CPU architecture information helper
12
14
gathers CPU architecture information like number of CPUs, threads,
13
15
cores, sockets, NUMA nodes, information about CPU caches, CPU family,
14
model and stepping from sysfs and /proc/cpuinfo, and prints it in
15
human-readable format. Alternatively, it can print out in parsable
16
format including how different caches are shared by different CPUs,
17
which can also be fed to other programs.
16
model, bogoMIPS, byte order and stepping from sysfs and /proc/cpuinfo, and prints it in
17
a human-readable format. It supports both online and offline CPUs.
18
It can also print out in a parsable format,
19
including how different caches are shared by different CPUs,
20
which can be fed to other programs.
20
23
.BR \-h , " \-\-help"
21
24
Print a help message.
23
26
.BR \-p , " \-\-parse"
24
Print out in parsable instead of printable format.
27
Print out in parsable instead of human-readable format.
29
.BR \-s , " \-\-sysroot " \fIdirectory\fP
30
Use the specified \fIdirectory\fP as system root. This allows you to inspect
31
a snapshot from a different system.
34
Use hexadecimal masks for CPU sets (e.g. 0x3). The default is to print the sets
35
in list format (e.g. 0,1).
26
The program at the moment does not handle the system installed with
27
different types of physical processors.
37
The basic overview about CPU family, model, etc. is always based on the first
29
Sometimes in Xen Dom0 kernel reports wrong data.
40
Sometimes in Xen Dom0 the kernel reports wrong data.
31
43
Cai Qian <qcai@redhat.com>
44
Karel Zak <kzak@redhat.com>
33
The setarch command is part of the util-linux-ng package and is available from
34
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
47
The lscpu command is part of the util-linux package and is available from
48
ftp://ftp.kernel.org/pub/linux/utils/util-linux/.