]> git.saurik.com Git - apple/file_cmds.git/blame - ipcs/ipcs.1
file_cmds-116.11.tar.gz
[apple/file_cmds.git] / ipcs / ipcs.1
CommitLineData
c59d3020
A
1.\"
2.\" Copyright (c) 1994 SigmaSoft, Th. Lockert
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\" notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\" notice, this list of conditions and the following disclaimer in the
12.\" documentation and/or other materials provided with the distribution.
13.\" 3. All advertising materials mentioning features or use of this software
14.\" must display the following acknowledgement:
15.\" This product includes software developed by SigmaSoft, Th. Lockert.
16.\" 3. The name of the author may not be used to endorse or promote products
17.\" derived from this software without specific prior written permission
18.\"
19.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29.\"
30.\" $FreeBSD: src/usr.bin/ipcs/ipcs.1,v 1.16 2003/05/21 21:07:28 ru Exp $
31.\"
32.Dd June 18, 1994
33.Dt "IPCS" 1
34.Os
35.Sh NAME
36.Nm ipcs
37.Nd report System V interprocess communication facilities status
38.Sh SYNOPSIS
39.Nm
40.Op Fl abcmopqstMQST
41.Sh DESCRIPTION
42The
43.Nm
44utility provides information on System V interprocess communication
45(IPC) facilities on the system.
46.Pp
47The options are as follows:
48.Bl -tag -width Ds
49.It Fl a
50Show the maximum amount of information possible when
51displaying active semaphores, message queues,
52and shared memory segments.
53(This is shorthand for specifying the
54.Fl b ,
55.Fl c ,
56.Fl o ,
57.Fl p ,
58and
59.Fl t
60options.)
61.It Fl b
62Show the maximum allowed sizes for active semaphores, message queues,
63and shared memory segments. The
64.Dq maximum allowed size
65is the maximum number of bytes in a message on a message queue,
66the size of a shared memory segment,
67or the number of semaphores in a set of semaphores.
68.It Fl c
69Show the creator's name and group for active semaphores, message queues,
70and shared memory segments.
71.It Fl m
72Display information about active shared memory segments.
73.It Fl o
74Show outstanding usage for active message queues,
75and shared memory segments. The
76.Dq outstanding usage
77is the number of messages in a message queue, or the number
78of processes attached to a shared memory segment.
79.It Fl p
80Show the process ID information for active semaphores, message queues,
81and shared memory segments. The
82.Dq process ID information
83is the last process to send a message to or receive a message from
84a message queue,
85the process that created a semaphore, or the last process to attach
86or detach a shared memory segment.
87.It Fl q
88Display information about active message queues.
89.It Fl s
90Display information about active semaphores.
91.It Fl t
92Show access times for active semaphores, message queues,
93and shared memory segments. The access times is the time
94of the last control operation on an IPC object,
95the last send or receive of a message,
96the last attach or detach of a shared memory segment,
97or the last operation on a semaphore.
98.It Fl M
99Display system information about shared memory.
100.It Fl Q
101Display system information about messages queues.
102.It Fl S
103Display system information about semaphores.
104.It Fl T
105Display system information about shared memory, message queues
106and semaphores.
107.El
108.Pp
109If none of the
110.Fl M ,
111.Fl m ,
112.Fl Q ,
113.Fl q ,
114.Fl S ,
115or
116.Fl s
117options are specified, information about all active IPC facilities is
118listed.
119.Sh RESTRICTIONS
120System data structures may change while
121.Nm
122is running; the output of
123.Nm
124is not guaranteed to be consistent.
125.Sh BUGS
126This manual page is woefully incomplete, because it does not
127at all attempt to explain the information printed by
128.Nm .
129.Sh SEE ALSO
130.Xr ipcrm 1
131.Sh AUTHORS
132.An Thorsten Lockert Aq tholo@sigmasoft.com