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