ipcs
(1)show information on IPC facilities
Options
14-i--ididShow 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.
-h--helpDisplay help text and exit.
-V--versionDisplay version and exit.
-m--shmemsWrite information about active shared memory segments.
-q--queuesWrite information about active message queues.
-s--semaphoresWrite information about active semaphore sets.
-a--allWrite information about all three resources (default).
-c--creatorShow creator and owner.
-l--limitsShow resource limits.
-p--pidShow PIDs of creator and last operator.
-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.
-u--summaryShow status summary.
-b--bytesPrint the sizes in bytes rather than in a human-readable format. By default, the unit, sizes are expressed in, is byte, and unit prefixes are in power of 2^10 (1024). Abbreviations of symbols are exhibited truncated in order to reach a better readability, by exhibiting alone the first letter of them; examples: "1 KiB" and "1 MiB" are respectively exhibited as "1 K" and "1 M", then omitting on purpose the mention "iB", which is part of these abbreviations.
--humanPrint sizes in human-readable format.
DESCRIPTION
CONFORMING TO
NOTES
The current implementation of ipcs obtains information about available IPC resources by parsing the files in /proc/sysvipc. Before util-linux version v2.23, an alternate mechanism was used: the IPC_STAT command of msgctl(2), semctl(2), and shmctl(2). This mechanism is also used in later util-linux versions in the case where /proc is unavailable. A limitation of the IPC_STAT mechanism is that it can only be used to retrieve information about IPC resources for which the user has read permission.
AUTHORS
Krishna Balasubramanian balasub@cis.ohio-state.edu
REPORTING BUGS
For bug reports, use the issue tracker https://github.com/util-linux/util-linux/issues.
AVAILABILITY
The ipcs 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/.