1LSIPC(1) User Commands LSIPC(1)
2
3
4
6 lsipc - show information on IPC facilities currently employed in the
7 system
8
10 lsipc [options]
11
13 lsipc shows information on the System V inter-process communication
14 facilities for which the calling process has read access.
15
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. It is possible to override the default
21 output format for this option with the --list, --raw, --json or
22 --export option.
23
24 -g, --global
25 Show system-wide usage and limits of IPC resources. This option may
26 be combined with one of the three resource options: -m, -q or -s.
27 The default is to show information about all resources.
28
29 -h, --help
30 Display help text and exit.
31
32 -V, --version
33 Print version and exit.
34
35 Resource options
36 -m, --shmems
37 Write information about active shared memory segments.
38
39 -q, --queues
40 Write information about active message queues.
41
42 -s, --semaphores
43 Write information about active semaphore sets.
44
45 Output formatting
46 -c, --creator
47 Show creator and owner.
48
49 -e, --export
50 Produce output in the form of key="value" pairs. All potentially
51 unsafe value characters are hex-escaped (\x<code>). See also option
52 --shell.
53
54 -J, --json
55 Use the JSON output format.
56
57 -l, --list
58 Use the list output format. This is the default, except when --id
59 is used.
60
61 -n, --newline
62 Display each piece of information on a separate line.
63
64 --noheadings
65 Do not print a header line.
66
67 --notruncate
68 Don’t truncate output.
69
70 -o, --output list
71 Specify which output columns to print. Use --help to get a list of
72 all supported columns.
73
74 -b, --bytes
75 Print size in bytes rather than in human readable format.
76
77 -r, --raw
78 Raw output (no columnation).
79
80 -t, --time
81 Write time information. The time of the last control operation that
82 changed the access permissions for all facilities, the time of the
83 last msgsnd(2) and msgrcv(2) operations on message queues, the time
84 of the last shmat(2) and shmdt(2) operations on shared memory, and
85 the time of the last semop(2) operation on semaphores.
86
87 --time-format type
88 Display dates in short, full or iso format. The default is short,
89 this time format is designed to be space efficient and human
90 readable.
91
92 -P, --numeric-perms
93 Print numeric permissions in PERMS column.
94
95 -y, --shell
96 The column name will be modified to contain only characters allowed
97 for shell variable identifiers. This is usable, for example, with
98 --export. Note that this feature has been automatically enabled for
99 --export in version 2.37, but due to compatibility issues, now it’s
100 necessary to request this behavior by --shell.
101
103 0
104 if OK,
105
106 1
107 if incorrect arguments specified,
108
109 2
110 if a serious error occurs.
111
113 The lsipc utility is inspired by the ipcs(1) utility.
114
116 Ondrej Oprala <ooprala@redhat.com>, Karel Zak <kzak@redhat.com>
117
119 ipcmk(1), ipcrm(1), msgrcv(2), msgsnd(2), semget(2), semop(2),
120 shmat(2), shmdt(2), shmget(2), sysvipc(7)
121
123 For bug reports, use the issue tracker at
124 https://github.com/util-linux/util-linux/issues.
125
127 The lsipc command is part of the util-linux package which can be
128 downloaded from Linux Kernel Archive
129 <https://www.kernel.org/pub/linux/utils/util-linux/>.
130
131
132
133util-linux 2.38 2022-02-17 LSIPC(1)