Linux "lsipc" Command Line Options and Examples
show information on IPC facilities currently employed in the system

lsipc shows information on the inter-process communication facilities for which the calling process has read access..


Usage:

lsipc [options]






Command Line Options:

-i
Show full details on just the one resource element identified by id. This option needs to be combined with one of the threeresource options: -m, -q or -s. It is possible to override the default output format for this option with the --list, --raw,
lsipc -i ...
--json
or --export option.
lsipc --json ...
-g
Show system-wide usage and limits of IPC resources. This option may be combined with one of the three resource options: -m,
lsipc -g ...
-q
or -s. The default is to show information about all resources.
lsipc -q ...
-h
Display help text and exit.
lsipc -h ...
-V
Display version information and exit.Resource options
lsipc -V ...
-m
Write information about active shared memory segments.
lsipc -m ...
-s
Write information about active semaphore sets.Output formatting
lsipc -s ...
-c
Show creator and owner.
lsipc -c ...
-e
Output data in the format of NAME=VALUE.
lsipc -e ...
-J
Use the JSON output format.
lsipc -J ...
-l
Use the list output format. This is the default, except when --id is used.
lsipc -l ...
-n
Display each piece of information on a separate line.
lsipc -n ...
--noheadings
Do not print a header line.
lsipc --noheadings ...
--notruncate
Don't truncate output.
lsipc --notruncate ...
-o
Specify which output columns to print. Use --help to get a list of all supported columns.
lsipc -o ...
-b
Print size in bytes rather than in human readable format.
lsipc -b ...
-r
Raw output (no columnation).
lsipc -r ...
-t
Write time information. The time of the last control operation that changed the access permissions for all facilities, thetime of the last msgsnd(2) and msgrcv(2) operations on message queues, the time of the last shmat(2) and shmdt(2) operationson shared memory, and the time of the last semop(2) operation on semaphores.
lsipc -t ...
--time-format
Display dates in short, full or iso format. The default is short, this time format is designed to be space efficient andhuman readable.
lsipc --time-format ...
-P
Print numeric permissions in PERMS column.EXIT STATUS0 if OK,1 if incorrect arguments specified,2 if a serious error occurs.
lsipc -P ...