您的位置:首页 > 运维架构 > Linux

【裸奔吧linux】ipcs:提供关于进程间通信(ipc)的信息

2016-05-09 14:55 375 查看
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]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息