1IPCS(1) User Commands IPCS(1)
2
3
4
6 ipcs - provide information on IPC facilities
7
9 ipcs [resource-option] [output-format]
10 ipcs [resource-option] -i id
11
13 ipcs provides information on the inter-process communication facilities
14 for which the calling process has read access.
15
17 -i, --id id
18 Print details only on the resource identified by id.
19
20 -h, --help
21 Display a help text and exit.
22
23 -V, --version
24 Display version information and exit.
25
26 Resource options
27 -q, --queues
28 Write information about active message queues.
29
30 -m, --shmems
31 Write information about active shared memory segments.
32
33 -s, --semaphores
34 Write information about active semaphore sets.
35
36 -a, --all
37 Write information about all three resources (default).
38
39 Output formats
40 Of these options only one takes effect: the last one specified.
41
42 -c, --creator
43 Show creator and owner.
44
45 -l, --limits
46 Show resource limits.
47
48 -p, --pid
49 Show PIDs of creator and last operator.
50
51 -t, --time
52 Write time information. The time of the last control operation
53 that changed the access permissions for all facilities, the time
54 of the last msgsnd() and msgrcv() operations on message queues,
55 the time of the last shmat() and shmdt() operations on shared
56 memory, and the time of the last semop() operation on sema‐
57 phores.
58
59 -u, --summary
60 Show status summary.
61
62 Representation
63 These affect only the -l (--limits) option.
64
65 -b, --bytes
66 Print sizes in bytes.
67
68 --human
69 Print sizes in human-readable format.
70
72 ipcrm(1), ipcmk(1), msgrcv(2), msgsnd(2), semget(2), semop(2),
73 shmat(2), shmdt(2), shmget(2)
74
76 The Linux ipcs utility is not fully compatible to the POSIX ipcs util‐
77 ity. The Linux version does not support the POSIX -a, -b and -o
78 options, but does support the -l and -u options not defined by POSIX.
79 A portable application shall not use the -a, -b, -o, -l, and -u
80 options.
81
83 Krishna Balasubramanian ⟨balasub@cis.ohio-state.edu⟩
84
86 The ipcs command is part of the util-linux package and is available
87 from Linux Kernel Archive ⟨ftp://ftp.kernel.org/pub/linux/utils/util-
88 linux/⟩.
89
90
91
92util-linux January 2013 IPCS(1)