lsipc
(1)show information on IPC facilities currently employed in the system
Options
25-i--ididShow full details on just the one resource element (System V) identified by id. This option needs to be combined with one of the three resource options: -m, -q or -s. It is possible to override the default output format for this option with the --list, --raw, --json or --export option.
-N--namenameShow full details on just the one resource element (POSIX) identified by name. This option needs to be combined with one of the three resource options: -M, -Q or -S. It is possible to override the default output format for this option with the --list, --raw, --json or --export option.
-g--globalShow system-wide usage and limits of IPC resources. This option may be combined with one of the three resource options: -m, -q or -s. The default is to show information about all resources.
-h--helpDisplay help text and exit.
-V--versionDisplay version and exit.
-m--shmemsWrite information about active System V shared memory segments.
-M--posix-shmemsWrite information about active POSIX shared memory segments.
-q--queuesWrite information about active System V message queues.
-Q--posix-mqueuesWrite information about active POSIX message queues.
-s--semaphoresWrite information about active System V semaphore sets.
-S--posix-semaphoresWrite information about active POSIX named semaphores.
-c--creatorShow creator and owner.
-e--exportProduce output in the form of key="value" pairs. All potentially unsafe value characters are hex-escaped (\x<code>). See also option --shell.
-J--jsonUse the JSON output format.
-l--listUse the list output format. This is the default, except when --id is used.
-n--newlineDisplay each piece of information on a separate line.
--noheadingsDo not print a header line.
--notruncateDon’t truncate output.
-o--outputlistSpecify which output columns to print. Use --help to get a list of all supported columns.
-b--bytesPrint size in bytes rather than in human readable format.
-r--rawRaw output (no columnation).
-t--timeWrite time information. The time of the last control operation that changed the access permissions for all facilities, the time of the last msgsnd(2) and msgrcv(2) operations on message queues, the time of the last shmat(2) and shmdt(2) operations on shared memory, and the time of the last semop(2) operation on semaphores.
--time-formattypeDisplay dates in short, full or iso format. The default is short, this time format is designed to be space efficient and human readable.
-P--numeric-permsPrint numeric permissions in PERMS column.
-y--shellThe column name will be modified to contain only characters allowed for shell variable identifiers. This is usable, for example, with --export. Note that this feature has been automatically enabled for --export in version 2.37, but due to compatibility issues, now it’s necessary to request this behavior by --shell.
DESCRIPTION
lsipc shows information on the POSIX and System V inter-process communication facilities for which the calling process has read access.
The default output, as well as the default output from options with predefined output columns (like --shmems, etc.), is subject to change. So whenever possible, you should avoid using default outputs in your scripts. Always explicitly define expected columns by using --output columns-list in environments where a stable output is required.
EXIT STATUS
HISTORY
AUTHORS
Ondrej Oprala ooprala@redhat.com, Karel Zak kzak@redhat.com
REPORTING BUGS
For bug reports, use the issue tracker https://github.com/util-linux/util-linux/issues.
AVAILABILITY
The lsipc command is part of the util-linux package which can be downloaded from Linux Kernel Archive https://www.kernel.org/pub/linux/utils/util-linux/.