lscpu \- display information about the CPU architecture
.SH SYNOPSIS
.B lscpu
-.RB [ \-a | \-b | \-c "] [" \-x "] [" \-s " \fIdirectory\fP] [" \-e [=\fIlist\fP]| \-p [=\fIlist\fP]]
+.RB [ \-a | \-b | \-c | \-J "] [" \-x "] [" \-y "] [" \-s " \fIdirectory\fP] [" \-e [=\fIlist\fP]| \-p [=\fIlist\fP]]
.br
.B lscpu
.BR \-h | \-V
.B BOOK
The logical book number. A book can contain several sockets.
.TP
+.B DRAWER
+The logical drawer number. A drawer can contain several books.
+.TP
.B NODE
-The logical NUMA node number. A node may contain several books.
+The logical NUMA node number. A node can contain several drawers.
.TP
.B CACHE
Information about how caches are shared between CPUs.
For vertical polarization, the column also shows the degree of concentration,
high, medium, or low. This column contains data only if your hardware system
and hypervisor support CPU polarization.
+.RE
.TP
-.B MMHZ
-Maximum megahertz value for the cpu. Useful when lscpu is used as hardware
+.B MAXMHZ
+Maximum megahertz value for the CPU. Useful when \fBlscpu\fP is used as hardware
inventory information gathering tool. Notice that the megahertz value is
dynamic, and driven by CPU governor depending on current resource need.
-.RE
+.TP
+.B MINMHZ
+Minimum megahertz value for the CPU.
.SH OPTIONS
.TP
.BR \-a , " \-\-all"
.BR \-h , " \-\-help"
Display help text and exit.
.TP
+.BR \-J , " \-\-json"
+Use JSON output format for the default summary or extended output (see \fB\-\-extended\fP).
+.TP
.BR \-p , " \-\-parse" [=\fIlist\fP]
Optimize the command output for easy parsing.
of the Linux instance to be inspected.
.TP
.BR \-x , " \-\-hex"
-Use hexadecimal masks for CPU sets (for example 0x3). The default is to print
-the sets in list format (for example 0,1).
+Use hexadecimal masks for CPU sets (for example "ff"). The default is to print
+the sets in list format (for example 0,1). Note that before version 2.30 the mask
+has been printed with 0x prefix.
+.TP
+.BR \-y , " \-\-physical"
+Display physical IDs for all columns with topology elements (core, socket, etc.).
+Other than logical IDs, which are assigned by \fBlscpu\fP, physical IDs are
+platform-specific values that are provided by the kernel. Physical IDs are not
+necessarily unique and they might not be arranged sequentially.
+If the kernel could not retrieve a physical ID for an element \fBlscpu\fP prints
+the dash (-) character.
+
+The CPU logical numbers are not affected by this option.
.TP
.BR \-V , " \-\-version"
Display version information and exit.
+.TP
+.B \-\-output\-all
+Output all available columns. This option must be combined with either
+.BR \-\-extended " or " \-\-parse .
.SH BUGS
The basic overview of CPU family, model, etc. is always based on the first
CPU only.
.BR chcpu (8)
.SH AVAILABILITY
The lscpu command is part of the util-linux package and is available from
-ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
+https://www.kernel.org/pub/linux/utils/util-linux/.