]> git.ipfire.org Git - thirdparty/util-linux.git/blame - sys-utils/ipcs.1
su: change error message
[thirdparty/util-linux.git] / sys-utils / ipcs.1
CommitLineData
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 5ipcs \- 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 11shows information on the inter-process communication facilities
d38a30a3 12for which the calling process has read access.
d179d019
BS
13By default it shows information about all three resources:
14shared 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 18Show full details on just the one resource element identified by
5ccc85be 19.IR id .
d179d019
BS
20This 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 26Display help text and exit.
6dbe3af9 27.TP
5ccc85be 28\fB\-V\fR, \fB\-\-version\fR
d38a30a3
BS
29Display version information and exit.
30.SS "Resource options"
6dbe3af9 31.TP
d38a30a3
BS
32\fB\-m\fR, \fB\-\-shmems\fR
33Write information about active shared memory segments.
34.TP
d179d019
BS
35\fB\-q\fR, \fB\-\-queues\fR
36Write information about active message queues.
37.TP
5ccc85be
SK
38\fB\-s\fR, \fB\-\-semaphores\fR
39Write information about active semaphore sets.
6dbe3af9 40.TP
5ccc85be 41\fB\-a\fR, \fB\-\-all\fR
d38a30a3
BS
42Write information about all three resources (default).
43.SS "Output formats"
44Of these options only one takes effect: the last one specified.
45.TP
46\fB\-c\fR, \fB\-\-creator\fR
47Show creator and owner.
48.TP
49\fB\-l\fR, \fB\-\-limits\fR
50Show resource limits.
51.TP
52\fB\-p\fR, \fB\-\-pid\fR
53Show PIDs of creator and last operator.
6dbe3af9 54.TP
5ccc85be 55\fB\-t\fR, \fB\-\-time\fR
d38a30a3
BS
56Write time information. The time of the last control operation that changed
57the access permissions for all facilities, the time of the last
a7bbc2f3 58.BR msgsnd (2)
5ccc85be 59and
a7bbc2f3 60.BR msgrcv (2)
d38a30a3 61operations on message queues, the time of the last
a7bbc2f3 62.BR shmat (2)
5ccc85be 63and
a7bbc2f3 64.BR shmdt (2)
d38a30a3 65operations on shared memory, and the time of the last
a7bbc2f3 66.BR semop (2)
5ccc85be 67operation on semaphores.
6dbe3af9 68.TP
5ccc85be
SK
69\fB\-u\fR, \fB\-\-summary\fR
70Show status summary.
d38a30a3
BS
71.SS "Representation"
72These affect only the \fB\-l\fR (\fB\-\-limits\fR) option.
19b7b517
SK
73.TP
74\fB\-b\fR, \fB\-\-bytes\fR
75Print sizes in bytes.
d38a30a3
BS
76.TP
77.B \-\-human
78Print 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
90The Linux ipcs utility is not fully compatible to the POSIX ipcs utility.
d38a30a3
BS
91The Linux version does not support the POSIX
92.BR \-a ,
6dd6d868
KZ
93.B \-b
94and
95.B \-o
96options, but does support the
97.B \-l
98and
99.B \-u
d38a30a3
BS
100options 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 105and
71d87029
PB
106.B \-u
107options.
6dbe3af9 108.SH AUTHOR
5ccc85be
SK
109.UR balasub@cis.ohio-state.edu
110Krishna Balasubramanian
111.UE
86d62711 112.SH AVAILABILITY
601d12fb 113The 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
115Linux Kernel Archive
116.UE .