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