ipcs — show information on IPC facilities
ipcs [options]
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.
−i, −−id idShow 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 information 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).
Of these options only one takes effect: the last one specified.
−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() and msgrcv() operations on message
queues, the time of the last shmat() and shmdt() operations on shared
memory, and the time of the last semop() operation on
semaphores.
−u, −−summaryShow status summary.
ipcrm(1), ipcmk(1), msgrcv(2), msgsnd(2), semget(2), semop(2), shmat(2), shmdt(2), shmget(2)
The Linux ipcs utility is not fully compatible to the
POSIX ipcs utility. The Linux version does not support the
POSIX −a, −b and −o options, but does support the
−l and −u options not defined by POSIX. A
portable application shall not use the −a, −b, −o, −l, and −u options.
The ipcs command is part of the util-linux package and is available from Linux Kernel Archive
|
Copyright 1993 Rickard E. Faith (faithcs.unc.edu) May be distributed under the GNU General Public License |