summaryrefslogtreecommitdiffstats
path: root/usr.bin/ipcs/ipcs.1
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-05-31 22:30:39 +0000
committerdd <dd@FreeBSD.org>2001-05-31 22:30:39 +0000
commit5d0075dbe15c41b6bc433c4cebdb7e9c54db1d96 (patch)
tree99450240cd5fa8a399e9aa072c300da4d011c423 /usr.bin/ipcs/ipcs.1
parent359f5df65b846b710828608144821d955a9b3ec1 (diff)
downloadFreeBSD-src-5d0075dbe15c41b6bc433c4cebdb7e9c54db1d96.zip
FreeBSD-src-5d0075dbe15c41b6bc433c4cebdb7e9c54db1d96.tar.gz
Convert to use the sysctl interface to obtain the data when operating
on a running system. Using kvm is still supported, primarily for postmortem analysis. Reviewed by: tmm
Diffstat (limited to 'usr.bin/ipcs/ipcs.1')
-rw-r--r--usr.bin/ipcs/ipcs.119
1 files changed, 18 insertions, 1 deletions
diff --git a/usr.bin/ipcs/ipcs.1 b/usr.bin/ipcs/ipcs.1
index aafbb27..71989ae 100644
--- a/usr.bin/ipcs/ipcs.1
+++ b/usr.bin/ipcs/ipcs.1
@@ -37,7 +37,7 @@
.Nd report System V interprocess communication facilities status
.Sh SYNOPSIS
.Nm
-.Op Fl abcmopqstMQST
+.Op Fl abcmopqstMQSTy
.Op Fl C Ar system
.Op Fl N Ar core
.Sh DESCRIPTION
@@ -101,12 +101,16 @@ or the last operation on a semaphore.
Extract the name list from the specified system instead of the
default
.Dq Pa /kernel .
+Implies
+.Fl y .
.It Fl M
Display system information about shared memory.
.It Fl N Ar core
Extract values associated with the name list from the specified
core instead of the default
.Dq Pa /dev/kmem .
+Implies
+.Fl y .
.It Fl Q
Display system information about messages queues.
.It Fl S
@@ -114,6 +118,19 @@ Display system information about semaphores.
.It Fl T
Display system information about shared memory, message queues
and semaphores.
+.It Fl y
+Use the
+.Xr kvm 3
+interface instead of the
+.Xr sysctl 3
+interface to extract the required information.
+If
+.Nm
+is to operate on the running system,
+using
+.Xr kvm 3
+will require read privileges to
+.Pa /dev/kmem .
.El
.Pp
If none of the
OpenPOWER on IntegriCloud