‘IPCS’ command in Linux with examples
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.
# ipcs -a : It provides details about message queue, semaphore and shared memory.
$ ipcs -q : It lists only message queues for which the current process has read access.
# ipcs -s : To list the accessible semaphores.
# ipcs -m : To lists the shared memories.
# ipcs -m -i 425984 : To detailed information about an ipc facility(here for id-425984).
# ipcs -m -l : To get the system limits for each ipc facility.
# ipcs -l : To get the limits for all three IPC facilities.
# ipcs -m -c : To list creator userid and groupid and owner userid and group id.
# ipcs -m -p : To displays creator id, and process id which accessed the corresponding ipc facility very recently.
# ipcs -s -t : To get the last operation time in each ipc facility.
# ipcs -u : To display current usage for all the IPC facility.