Scroll to navigation

LSIPC(1) User Commands LSIPC(1)


lsipc - show information on IPC facilities currently employed in the system


lsipc [options]


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


Show full details on just the one resource element 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.
Show 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.
Display help text and exit.
Display version information and exit.

Resource options

Write information about active shared memory segments.
Write information about active message queues.
Write information about active semaphore sets.

Output formatting

Show creator and owner.
Output data in the format of NAME=VALUE.
Use the JSON output format.
Use the list output format. This is the default, except when --id is used.
Display each piece of information on a separate line.
Do not print a header line.
Don't truncate output.
Specify which output columns to print. Use --help to get a list of all supported columns.
Print size in bytes rather than in human readable format.
Raw output (no columnation).
Write 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.
Display dates in short, full or iso format. The default is short, this time format is designed to be space efficient and human readable.
Print numeric permissions in PERMS column.


if OK,
if incorrect arguments specified,
if a serious error occurs.


The lsipc utility is inspired by the ipcs utility.


Ondrej Oprala
Karel Zak


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


The lsipc command is part of the util-linux package and is available from Linux Kernel Archive.

November 2015 util-linux