summaryrefslogtreecommitdiffstats
path: root/sys-utils/ipcs.1
diff options
context:
space:
mode:
authorSami Kerola2012-12-16 11:43:51 +0100
committerKarel Zak2012-12-19 11:04:53 +0100
commit56692a6701c4847d0cd80457c5adb98e5eaa6ced (patch)
tree41c51e5c4c825322263c028c29cbf9c52325a4a3 /sys-utils/ipcs.1
parentipcs: assist debugging (diff)
downloadkernel-qcow2-util-linux-56692a6701c4847d0cd80457c5adb98e5eaa6ced.tar.gz
kernel-qcow2-util-linux-56692a6701c4847d0cd80457c5adb98e5eaa6ced.tar.xz
kernel-qcow2-util-linux-56692a6701c4847d0cd80457c5adb98e5eaa6ced.zip
ipcs: add --human readable size conversion option
Introduces new function ipc_print_size() which will call size_to_human_string(), and handles the occasional '([k]bytes)' printing if default size format is requested. Reviewed-by: Karel Zak <kzak@redhat.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/ipcs.1')
-rw-r--r--sys-utils/ipcs.13
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-utils/ipcs.1 b/sys-utils/ipcs.1
index 7c094c832..0a617d6f6 100644
--- a/sys-utils/ipcs.1
+++ b/sys-utils/ipcs.1
@@ -65,6 +65,9 @@ Show resource limits.
.TP
\fB\-u\fR, \fB\-\-summary\fR
Show status summary.
+.TP
+.B \-\-human
+Print sizes in human readable format.
.SH SEE ALSO
.BR ipcrm (1),
.BR ipcmk (1),