1 .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
2 .\" May be distributed under the GNU General Public License
3 .TH IPCS "1" "July 2014" "util-linux" "User Commands"
5 ipcs \- show information on IPC facilities
11 shows information on inter-process communication facilities.
12 By default it shows information about all three resources:
13 shared memory segments, message queues, and semaphore arrays.
16 \fB\-i\fR, \fB\-\-id\fR \fIid\fR
17 Show full details on just the one resource element identified by
19 This option needs to be combined with one of the three resource options:
24 \fB\-h\fR, \fB\-\-help\fR
25 Display help text and exit.
27 \fB\-V\fR, \fB\-\-version\fR
28 Display version information and exit.
29 .SS "Resource options"
31 \fB\-m\fR, \fB\-\-shmems\fR
32 Write information about active shared memory segments.
34 \fB\-q\fR, \fB\-\-queues\fR
35 Write information about active message queues.
37 \fB\-s\fR, \fB\-\-semaphores\fR
38 Write information about active semaphore sets.
40 \fB\-a\fR, \fB\-\-all\fR
41 Write information about all three resources (default).
43 Of these options only one takes effect: the last one specified.
45 \fB\-c\fR, \fB\-\-creator\fR
46 Show creator and owner.
48 \fB\-l\fR, \fB\-\-limits\fR
51 \fB\-p\fR, \fB\-\-pid\fR
52 Show PIDs of creator and last operator.
54 \fB\-t\fR, \fB\-\-time\fR
55 Write time information. The time of the last control operation that changed
56 the access permissions for all facilities, the time of the last
60 operations on message queues, the time of the last
64 operations on shared memory, and the time of the last
66 operation on semaphores.
68 \fB\-u\fR, \fB\-\-summary\fR
71 These affect only the \fB\-l\fR (\fB\-\-limits\fR) option.
73 \fB\-b\fR, \fB\-\-bytes\fR
77 Print sizes in human-readable format.
79 The current implementation of
81 obtains information about available IPC resources by parsing the files in
83 Before util-linux version v2.23, an alternate mechanism was used: the
90 This mechanism is also used in later util-linux versions in the case where
95 mechanism is that it can only be used to retrieve information about
96 IPC resources for which the user has read permission.
98 The Linux ipcs utility is not fully compatible to the POSIX ipcs utility.
99 The Linux version does not support the POSIX
104 options, but does support the
108 options not defined by POSIX. A portable application shall not use the
117 .UR balasub@cis.ohio-state.edu
118 Krishna Balasubramanian
131 The ipcs command is part of the util-linux package and is available from
132 .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/