diff options
author | Karel Zak | 2017-03-14 15:32:53 +0100 |
---|---|---|
committer | Karel Zak | 2017-03-14 15:32:53 +0100 |
commit | 19a5510b964c6163e7117913d3de35aba3cd0006 (patch) | |
tree | 07191749a3655849d011a5aacc8664c7850b2fee /sys-utils/lscpu.1 | |
parent | lscpu: use libsmartcols to print summary too (diff) | |
download | kernel-qcow2-util-linux-19a5510b964c6163e7117913d3de35aba3cd0006.tar.gz kernel-qcow2-util-linux-19a5510b964c6163e7117913d3de35aba3cd0006.tar.xz kernel-qcow2-util-linux-19a5510b964c6163e7117913d3de35aba3cd0006.zip |
lscpu: add --json
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/lscpu.1')
-rw-r--r-- | sys-utils/lscpu.1 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-utils/lscpu.1 b/sys-utils/lscpu.1 index d00de64d5..b70f2e151 100644 --- a/sys-utils/lscpu.1 +++ b/sys-utils/lscpu.1 @@ -3,7 +3,7 @@ lscpu \- display information about the CPU architecture .SH SYNOPSIS .B lscpu -.RB [ \-a | \-b | \-c "] [" \-x "] [" \-y "] [" \-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 @@ -123,6 +123,10 @@ Examples: '\fB-e=cpu,node\fP' or '\fB--extended=cpu,node\fP'. .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). +.BR +.TP .BR \-p , " \-\-parse" [=\fIlist\fP] Optimize the command output for easy parsing. |