Linux "ipcs" Command Line Options and Examples
show information on IPC facilities

ipcs shows information on the inter-process communication facilities for which the calling process has read access. By default it shows information about all three resources: shared memory segments, message queues, and semaphore arrays..


Usage:

ipcs [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.
ipcs -i ...
-h
Display help text and exit.
ipcs -h ...
-V
Display version information and exit.Resource options
ipcs -V ...
-m
Write information about active shared memory segments.
ipcs -m ...
-q
Write information about active message queues.
ipcs -q ...
-s
Write information about active semaphore sets.
ipcs -s ...
-a
Write information about all three resources (default).Output formatsOf these options only one takes effect: the last one specified.
ipcs -a ...
-c
Show creator and owner.
ipcs -c ...
-l
Show resource limits.
ipcs -l ...
-p
Show PIDs of creator and last operator.
ipcs -p ...
-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.
ipcs -t ...
-u
Show status summary.RepresentationThese affect only the -l (--limits) option.
ipcs -u ...
-b
Print sizes in bytes.
ipcs -b ...
--human
Print sizes in human-readable format.
ipcs --human ...