summaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu.1
diff options
context:
space:
mode:
authorKarel Zak2019-03-19 13:47:11 +0100
committerKarel Zak2019-03-19 14:11:20 +0100
commit0e86bc8406959d0d56194d4f404b780e6b70caa4 (patch)
treea31307174312e69ecf3f007822c8367014c662a9 /sys-utils/lscpu.1
parentlib/path: remove extra semi-colons (diff)
downloadkernel-qcow2-util-linux-0e86bc8406959d0d56194d4f404b780e6b70caa4.tar.gz
kernel-qcow2-util-linux-0e86bc8406959d0d56194d4f404b780e6b70caa4.tar.xz
kernel-qcow2-util-linux-0e86bc8406959d0d56194d4f404b780e6b70caa4.zip
lscpu: add --caches
$ lscpu -C NAME ONE-SIZE ALL-SIZE WAYS TYPE LEVEL L3 8M 8M 16 Unified 3 L2 256K 1M 8 Unified 2 L1i 32K 128K 8 Instruction 1 L1d 32K 128K 8 Data 1 The patch also updates extra caches (s390) output in lsblk summary to be compatible with output about normal caches. Addresses: https://github.com/karelzak/util-linux/issues/663 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/lscpu.1')
-rw-r--r--sys-utils/lscpu.111
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-utils/lscpu.1 b/sys-utils/lscpu.1
index f07f2d313..22675bf86 100644
--- a/sys-utils/lscpu.1
+++ b/sys-utils/lscpu.1
@@ -106,6 +106,17 @@ This option may only be specified together with option \fB-e\fR or \fB-p\fR.
Limit the output to online CPUs (default for \fB-p\fR).
This option may only be specified together with option \fB-e\fR or \fB-p\fR.
.TP
+.BR \-C , " \-\-caches" [=\fIlist\fP]
+Display details about CPU caches. For details about available information see \fB\-\-help\fR
+output.
+
+If the \fIlist\fP argument is omitted, all columns for which data is available
+are included in the command output.
+
+When specifying the \fIlist\fP argument, the string of option, equal sign (=), and
+\fIlist\fP must not contain any blanks or other whitespace.
+Examples: '\fB-C=NAME,ONE-SIZE\fP' or '\fB--caches=NAME,ONE-SIZE\fP'.
+.TP
.BR \-c , " \-\-offline"
Limit the output to offline CPUs.
This option may only be specified together with option \fB-e\fR or \fB-p\fR.