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