diff options
author | Karel Zak | 2015-07-23 11:09:49 +0200 |
---|---|---|
committer | Karel Zak | 2015-07-23 11:09:49 +0200 |
commit | 2916afa3f510182987f88c17bade5dffb4aaf0b8 (patch) | |
tree | 43297888b518246861c43d9b3bbaabb84a8156d9 /sys-utils/lsipc.1 | |
parent | lsipc: the default --global is mutually exclusive with -c --id and -t (diff) | |
download | kernel-qcow2-util-linux-2916afa3f510182987f88c17bade5dffb4aaf0b8.tar.gz kernel-qcow2-util-linux-2916afa3f510182987f88c17bade5dffb4aaf0b8.tar.xz kernel-qcow2-util-linux-2916afa3f510182987f88c17bade5dffb4aaf0b8.zip |
lsipc: make --id usable with all output formats and with -o
This patch allows to use things like:
# lsipc -m --id 47611910 -o COMMAND,SIZE,KEY --json
or
# lsipc -m --id 47611910 -o SIZE --bytes --noheadings --raw
to get just one value for the resource.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/lsipc.1')
-rw-r--r-- | sys-utils/lsipc.1 | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys-utils/lsipc.1 b/sys-utils/lsipc.1 index e1e12c103..5ef714cf2 100644 --- a/sys-utils/lsipc.1 +++ b/sys-utils/lsipc.1 @@ -19,6 +19,8 @@ This option needs to be combined with one of the three resource options: .BR \-m , .BR \-q " or" .BR \-s . +The default \fB\-\-id\fR output format is possible to override by +the \fB\-\-list \-\-raw \-\-json\fR or \fB\-\-export\fR options. .TP \fB\-g\fR, \fB\-\-global\fR Show system-wide usage and limits for a single IPC type. @@ -48,15 +50,15 @@ Write information about active semaphore sets. \fB\-c\fR, \fB\-\-creator\fR Show creator and owner. .TP -\fB\-\-colon\-separate\fR -Separate info about each user with a colon instead of a newline. -.TP \fB\-e\fR, \fB\-\-export\fR Output data in the format of NAME=VALUE. .TP \fB\-J\fR, \fB\-\-json\fR Use the JSON output format. .TP +\fB\-l\fR, \fB\-\-list\fR +Use the list output format. This is the default except for \fB\-\-id\fR. +.TP \fB\-n\fR, \fB\-\-newline\fR Display each piece of information on a separate line. .TP @@ -94,9 +96,6 @@ operation on semaphores. \fB\-\-time\-format\fR \fItype\fP Display dates in short, full or iso format. The default is short, this time format is designed to be space efficient and human readable. -.TP -\fB\-z\fR, \fB\-\-print0\fR -Delimit user entries with a nul character, instead of a newline. .SH EXIT STATUS .TP |