]> git.ipfire.org Git - thirdparty/util-linux.git/blob - sys-utils/ipcs.1
lscpu: check scols_line_set_data() return value [coverity scan]
[thirdparty/util-linux.git] / sys-utils / ipcs.1
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"
4 .SH NAME
5 ipcs \- show information on IPC facilities
6 .SH SYNOPSIS
7 .B ipcs
8 [options]
9 .SH DESCRIPTION
10 .B ipcs
11 shows information on the inter-process communication facilities
12 for which the calling process has read access.
13 By default it shows information about all three resources:
14 shared memory segments, message queues, and semaphore arrays.
15 .SH OPTIONS
16 .TP
17 \fB\-i\fR, \fB\-\-id\fR \fIid\fR
18 Show full details on just the one resource element identified by
19 .IR id .
20 This option needs to be combined with one of the three resource options:
21 .BR \-m ,
22 .BR \-q " or"
23 .BR \-s .
24 .TP
25 \fB\-h\fR, \fB\-\-help\fR
26 Display help text and exit.
27 .TP
28 \fB\-V\fR, \fB\-\-version\fR
29 Display version information and exit.
30 .SS "Resource options"
31 .TP
32 \fB\-m\fR, \fB\-\-shmems\fR
33 Write information about active shared memory segments.
34 .TP
35 \fB\-q\fR, \fB\-\-queues\fR
36 Write information about active message queues.
37 .TP
38 \fB\-s\fR, \fB\-\-semaphores\fR
39 Write information about active semaphore sets.
40 .TP
41 \fB\-a\fR, \fB\-\-all\fR
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.
54 .TP
55 \fB\-t\fR, \fB\-\-time\fR
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
58 .BR msgsnd (2)
59 and
60 .BR msgrcv (2)
61 operations on message queues, the time of the last
62 .BR shmat (2)
63 and
64 .BR shmdt (2)
65 operations on shared memory, and the time of the last
66 .BR semop (2)
67 operation on semaphores.
68 .TP
69 \fB\-u\fR, \fB\-\-summary\fR
70 Show status summary.
71 .SS "Representation"
72 These affect only the \fB\-l\fR (\fB\-\-limits\fR) option.
73 .TP
74 \fB\-b\fR, \fB\-\-bytes\fR
75 Print sizes in bytes.
76 .TP
77 .B \-\-human
78 Print sizes in human-readable format.
79 .SH SEE ALSO
80 .BR ipcmk (1),
81 .BR ipcrm (1),
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)
89 .SH CONFORMING TO
90 The Linux ipcs utility is not fully compatible to the POSIX ipcs utility.
91 The Linux version does not support the POSIX
92 .BR \-a ,
93 .B \-b
94 and
95 .B \-o
96 options, but does support the
97 .B \-l
98 and
99 .B \-u
100 options not defined by POSIX. A portable application shall not use the
101 .BR \-a ,
102 .BR \-b ,
103 .BR \-o ,
104 .BR \-l ,
105 and
106 .B \-u
107 options.
108 .SH AUTHOR
109 .UR balasub@cis.ohio-state.edu
110 Krishna Balasubramanian
111 .UE
112 .SH AVAILABILITY
113 The ipcs command is part of the util-linux package and is available from
114 .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
115 Linux Kernel Archive
116 .UE .