ipcs
时间:2006-08-13 来源:anima
ipcs
ipcs [options]
System administration command. Print report on interprocess communication (IPC) message queues, shared memory segments, and semaphore arrays for which the current process has read access. Options can be used to specify the type of resources to report on and the output format of the report.
Options
Resource specification options:
-aReport on all IPC facilities: shared memory segments, message queues, and semaphore arrays. This is the default.
-mReport on shared memory segments.
-qReport on message queues.
-sReport on semaphore arrays.
Output format options:
-bPrint information on maximum size of the resource: size in bytes of messages or shared memory segments, and the number of semaphores per set in the case of semaphore arrays.
-cPrint creator and owner user IDs for IPC facilities.
-lPrint resource maximum and minimum limits.
-oPrint outstanding usage of the resource in question: the number of messages and the total size of the message queue, or the number of processes using shared memory segments.
-pPrint creator and last operation process identifiers.
-tPrint attach, detach, and change times for shared memory segments, last operation and change times for semaphore arrays, and send, receive, and change times for message queues.
-uPrint summary of current resource usage.
Other options:
-hPrint help message, then exit.
-i identifierUsed in combination with the -m, -q, or -s options. Report only on the resource specified by numeric identifier.