标签:
NAME
ipcs - provide information on ipc facilities
SYNOPSIS
ipcs [-asmq] [-tclup]
ipcs [-smq] -i id
ipcs -h
DESCRIPTION
ipcs provides information on the ipc facilities for which the calling process has read access.
The -i option allows a specific resource id to be specified. Only information on this id will be printed.
Resources may be specified as follows:
-m shared memory segments(内存共享段)
-q message queues (消息队列)
-s semaphore arrays (信号量数组)
-a all (this is the default) (前面三个都会输出)
-i id 显示指定id的具体信息.
The output format may be specified as follows:
-t time 时间
-p pid 进程id
-c creator 创建者
-l limits 系统对(共享内存段/消息队列/信号量数组)的限制
-u summary 使用统计/状态
ipcs输出内容有:
ipcs -i id -a 的相关输出:
ipcs -l 选项的输出:
ipcs -u 选项的输出:
拓展阅读:
ipcrm [删除一个…id: remove a message queue, semaphore set or shared memory id]
ipcmk[创建各种进程通信资源:create various ipc resources]
标签:
原文地址:http://blog.csdn.net/i_scream_/article/details/51353087