- 论坛徽章:
- 0
|
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:
-a
Report on all IPC facilities: shared memory segments, message queues, and semaphore arrays. This is the default.
-m
Report on shared memory segments.
-q
Report on message queues.
-s
Report on semaphore arrays.
Output format options:
-b
Print 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.
-c
Print creator and owner user IDs for IPC facilities.
-l
Print resource maximum and minimum limits.
-o
Print 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.
-p
Print creator and last operation process identifiers.
-t
Print 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.
-u
Print summary of current resource usage.
Other options:
-h
Print help message, then exit.
-i identifier
Used in combination with the -m, -q, or -s options. Report only on the resource specified by numeric identifier.
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/22178/showart_154700.html |
|