]>
Commit | Line | Data |
---|---|---|
6dbe3af9 KZ |
1 | .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) |
2 | .\" May be distributed under the GNU General Public License | |
d179d019 | 3 | .TH IPCS "1" "July 2014" "util-linux" "User Commands" |
6dbe3af9 | 4 | .SH NAME |
d179d019 | 5 | ipcs \- show information on IPC facilities |
6dbe3af9 | 6 | .SH SYNOPSIS |
71d87029 | 7 | .B ipcs |
d179d019 | 8 | [options] |
6dbe3af9 KZ |
9 | .SH DESCRIPTION |
10 | .B ipcs | |
d179d019 | 11 | shows information on the inter-process communication facilities |
d38a30a3 | 12 | for which the calling process has read access. |
d179d019 BS |
13 | By default it shows information about all three resources: |
14 | shared memory segments, message queues, and semaphore arrays. | |
5ccc85be | 15 | .SH OPTIONS |
6dbe3af9 | 16 | .TP |
5ccc85be | 17 | \fB\-i\fR, \fB\-\-id\fR \fIid\fR |
d179d019 | 18 | Show full details on just the one resource element identified by |
5ccc85be | 19 | .IR id . |
d179d019 BS |
20 | This option needs to be combined with one of the three resource options: |
21 | .BR \-m , | |
22 | .BR \-q " or" | |
23 | .BR \-s . | |
6dbe3af9 | 24 | .TP |
5ccc85be | 25 | \fB\-h\fR, \fB\-\-help\fR |
b4362b6f | 26 | Display help text and exit. |
6dbe3af9 | 27 | .TP |
5ccc85be | 28 | \fB\-V\fR, \fB\-\-version\fR |
d38a30a3 BS |
29 | Display version information and exit. |
30 | .SS "Resource options" | |
6dbe3af9 | 31 | .TP |
d38a30a3 BS |
32 | \fB\-m\fR, \fB\-\-shmems\fR |
33 | Write information about active shared memory segments. | |
34 | .TP | |
d179d019 BS |
35 | \fB\-q\fR, \fB\-\-queues\fR |
36 | Write information about active message queues. | |
37 | .TP | |
5ccc85be SK |
38 | \fB\-s\fR, \fB\-\-semaphores\fR |
39 | Write information about active semaphore sets. | |
6dbe3af9 | 40 | .TP |
5ccc85be | 41 | \fB\-a\fR, \fB\-\-all\fR |
d38a30a3 BS |
42 | Write information about all three resources (default). |
43 | .SS "Output formats" | |
44 | Of these options only one takes effect: the last one specified. | |
45 | .TP | |
46 | \fB\-c\fR, \fB\-\-creator\fR | |
47 | Show creator and owner. | |
48 | .TP | |
49 | \fB\-l\fR, \fB\-\-limits\fR | |
50 | Show resource limits. | |
51 | .TP | |
52 | \fB\-p\fR, \fB\-\-pid\fR | |
53 | Show PIDs of creator and last operator. | |
6dbe3af9 | 54 | .TP |
5ccc85be | 55 | \fB\-t\fR, \fB\-\-time\fR |
d38a30a3 BS |
56 | Write time information. The time of the last control operation that changed |
57 | the access permissions for all facilities, the time of the last | |
a7bbc2f3 | 58 | .BR msgsnd (2) |
5ccc85be | 59 | and |
a7bbc2f3 | 60 | .BR msgrcv (2) |
d38a30a3 | 61 | operations on message queues, the time of the last |
a7bbc2f3 | 62 | .BR shmat (2) |
5ccc85be | 63 | and |
a7bbc2f3 | 64 | .BR shmdt (2) |
d38a30a3 | 65 | operations on shared memory, and the time of the last |
a7bbc2f3 | 66 | .BR semop (2) |
5ccc85be | 67 | operation on semaphores. |
6dbe3af9 | 68 | .TP |
5ccc85be SK |
69 | \fB\-u\fR, \fB\-\-summary\fR |
70 | Show status summary. | |
d38a30a3 BS |
71 | .SS "Representation" |
72 | These affect only the \fB\-l\fR (\fB\-\-limits\fR) option. | |
19b7b517 SK |
73 | .TP |
74 | \fB\-b\fR, \fB\-\-bytes\fR | |
75 | Print sizes in bytes. | |
d38a30a3 BS |
76 | .TP |
77 | .B \-\-human | |
78 | Print sizes in human-readable format. | |
6dbe3af9 | 79 | .SH SEE ALSO |
5ccc85be | 80 | .BR ipcmk (1), |
f053ff1e | 81 | .BR ipcrm (1), |
5ccc85be SK |
82 | .BR msgrcv (2), |
83 | .BR msgsnd (2), | |
84 | .BR semget (2), | |
85 | .BR semop (2), | |
86 | .BR shmat (2), | |
87 | .BR shmdt (2), | |
88 | .BR shmget (2) | |
6dd6d868 KZ |
89 | .SH CONFORMING TO |
90 | The Linux ipcs utility is not fully compatible to the POSIX ipcs utility. | |
d38a30a3 BS |
91 | The Linux version does not support the POSIX |
92 | .BR \-a , | |
6dd6d868 KZ |
93 | .B \-b |
94 | and | |
95 | .B \-o | |
96 | options, but does support the | |
97 | .B \-l | |
98 | and | |
99 | .B \-u | |
d38a30a3 BS |
100 | options not defined by POSIX. A portable application shall not use the |
101 | .BR \-a , | |
71d87029 PB |
102 | .BR \-b , |
103 | .BR \-o , | |
104 | .BR \-l , | |
6dd6d868 | 105 | and |
71d87029 PB |
106 | .B \-u |
107 | options. | |
6dbe3af9 | 108 | .SH AUTHOR |
5ccc85be SK |
109 | .UR balasub@cis.ohio-state.edu |
110 | Krishna Balasubramanian | |
111 | .UE | |
86d62711 | 112 | .SH AVAILABILITY |
601d12fb | 113 | The ipcs command is part of the util-linux package and is available from |
d673b74e | 114 | .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ |
5ccc85be SK |
115 | Linux Kernel Archive |
116 | .UE . |