UNPKG

971 BMarkdownView Raw
1ipcs
2===
3
4分析消息队列共享内存和信号量
5
6## 补充说明
7
8**ipcs命令** 用于报告Linux中进程间通信设施的状态,显示的信息包括消息列表、共享内存和信号量的信息。
9
10### 语法
11
12```shell
13ipcs(选项)
14```
15
16### 选项
17
18```shell
19-a:显示全部可显示的信息;
20-q:显示活动的消息队列信息;
21-m:显示活动的共享内存信息;
22-s:显示活动的信号量信息。
23```
24
25### 实例
26
27```shell
28ipcs -a
29------ Shared Memory Segments --------
30key shmid owner perms bytes nattch status
310x7401833d 2654208 root 600 4 0
320x00000000 3145729 root 600 4194304 9 dest
330x7401833c 2621442 root 600 4 0
340xd201012b 3080195 root 600 1720 2
35```
36
37
38<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->
\No newline at end of file