1IPCS(1)                          User Commands                         IPCS(1)
2
3
4

NAME

6       ipcs - show information on IPC facilities
7

SYNOPSIS

9       ipcs [options]
10

DESCRIPTION

12       ipcs shows information on System V inter-process communication
13       facilities. By default it shows information about all three resources:
14       shared memory segments, message queues, and semaphore arrays.
15

OPTIONS

17       -i, --id id
18           Show full details on just the one resource element identified by
19           id. This option needs to be combined with one of the three resource
20           options: -m, -q or -s.
21
22       -h, --help
23           Display help text and exit.
24
25       -V, --version
26           Display version information and exit.
27
28   Resource options
29       -m, --shmems
30           Write information about active shared memory segments.
31
32       -q, --queues
33           Write information about active message queues.
34
35       -s, --semaphores
36           Write information about active semaphore sets.
37
38       -a, --all
39           Write information about all three resources (default).
40
41   Output formats
42       Of these options only one takes effect: the last one specified.
43
44       -c, --creator
45           Show creator and owner.
46
47       -l, --limits
48           Show resource limits.
49
50       -p, --pid
51           Show PIDs of creator and last operator.
52
53       -t, --time
54           Write time information. The time of the last control operation that
55           changed the access permissions for all facilities, the time of the
56           last msgsnd(2) and msgrcv(2) operations on message queues, the time
57           of the last shmat(2) and shmdt(2) operations on shared memory, and
58           the time of the last semop(2) operation on semaphores.
59
60       -u, --summary
61           Show status summary.
62
63   Representation
64       These affect only the -l (--limits) option.
65
66       -b, --bytes
67           Print sizes in bytes.
68
69       --human
70           Print sizes in human-readable format.
71

CONFORMING TO

73       The Linux ipcs utility is not fully compatible to the POSIX ipcs
74       utility. The Linux version does not support the POSIX -a, -b and -o
75       options, but does support the -l and -u options not defined by POSIX. A
76       portable application shall not use the -a, -b, -o, -l, and -u options.
77

NOTES

79       The current implementation of ipcs obtains information about available
80       IPC resources by parsing the files in /proc/sysvipc. Before util-linux
81       version v2.23, an alternate mechanism was used: the IPC_STAT command of
82       msgctl(2), semctl(2), and shmctl(2). This mechanism is also used in
83       later util-linux versions in the case where /proc is unavailable. A
84       limitation of the IPC_STAT mechanism is that it can only be used to
85       retrieve information about IPC resources for which the user has read
86       permission.
87

AUTHORS

89       Krishna Balasubramanian <balasub@cis.ohio-state.edu>
90

SEE ALSO

92       ipcmk(1), ipcrm(1), msgrcv(2), msgsnd(2), semget(2), semop(2),
93       shmat(2), shmdt(2), shmget(2), sysvipc(7)
94

REPORTING BUGS

96       For bug reports, use the issue tracker at
97       https://github.com/karelzak/util-linux/issues.
98

AVAILABILITY

100       The ipcs command is part of the util-linux package which can be
101       downloaded from Linux Kernel Archive
102       <https://www.kernel.org/pub/linux/utils/util-linux/>.
103
104
105
106util-linux 2.37.2                 2021-06-02                           IPCS(1)
Impressum