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 Display version information 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>). The key
52 (variable name) will be modified to contain only characters allowed
53 for a shell variable identifiers, for example, USE_PCT instead of
54 USE%.
55
56 -J, --json
57 Use the JSON output format.
58
59 -l, --list
60 Use the list output format. This is the default, except when --id
61 is used.
62
63 -n, --newline
64 Display each piece of information on a separate line.
65
66 --noheadings
67 Do not print a header line.
68
69 --notruncate
70 Don’t truncate output.
71
72 -o, --output list
73 Specify which output columns to print. Use --help to get a list of
74 all supported columns.
75
76 -b, --bytes
77 Print size in bytes rather than in human readable format.
78
79 -r, --raw
80 Raw output (no columnation).
81
82 -t, --time
83 Write time information. The time of the last control operation that
84 changed the access permissions for all facilities, the time of the
85 last msgsnd(2) and msgrcv(2) operations on message queues, the time
86 of the last shmat(2) and shmdt(2) operations on shared memory, and
87 the time of the last semop(2) operation on semaphores.
88
89 --time-format type
90 Display dates in short, full or iso format. The default is short,
91 this time format is designed to be space efficient and human
92 readable.
93
94 -P, --numeric-perms
95 Print numeric permissions in PERMS column.
96
98 0
99 if OK,
100
101 1
102 if incorrect arguments specified,
103
104 2
105 if a serious error occurs.
106
108 The lsipc utility is inspired by the ipcs(1) utility.
109
111 Ondrej Oprala <ooprala@redhat.com>, Karel Zak <kzak@redhat.com>
112
114 ipcmk(1), ipcrm(1), msgrcv(2), msgsnd(2), semget(2), semop(2),
115 shmat(2), shmdt(2), shmget(2), sysvipc(7)
116
118 For bug reports, use the issue tracker at
119 https://github.com/karelzak/util-linux/issues.
120
122 The lsipc command is part of the util-linux package which can be
123 downloaded from Linux Kernel Archive
124 <https://www.kernel.org/pub/linux/utils/util-linux/>.
125
126
127
128util-linux 2.37.2 2021-06-02 LSIPC(1)