Linux---ipcs
2016-07-28 18:31
435 查看
ipcs:ipcs用于查询IPC(Inter-Process Communication进程间通信)的状态。主要显示共享内存、消息队列、信号量三种信息状态。
A.分别查询IPC资源:
B. 系统IPC参数查看:ipcs –l;
C. 上述参数的修改:在root用户下修改/etc/sysctl.conf 文件,保存后使用sysctl -p生效。
A.分别查询IPC资源:
$ipcs -m 查看系统使用的IPC共享内存资源;
$ipcs -q 查看系统使用的IPC队列资源;
$ipcs -s 查看系统使用的IPC信号量资源。
B. 系统IPC参数查看:ipcs –l;
ipcs -l
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 4194303
max total shared memory (kbytes) = 1073741824
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 2048
max size of message (bytes) = 524288
default max size of queue (bytes) = 5242880
C. 上述参数的修改:在root用户下修改/etc/sysctl.conf 文件,保存后使用sysctl -p生效。
相关文章推荐
- 信号量(sem)
- linux下的五种IO模型
- linux 下删除文件夹(文件夹不为空时)
- Linux 常用命令总结
- 每天一个Linux命令(1):wc命令
- 2016 最佳 Linux 发行版排行榜
- linux中的read和write系统调用
- Linux 配置脚本 启动服务
- VM下的Centos7安装ftp服务
- linux删除或隐藏命令历史记录history
- Linux 内存管理:缺页异常的几种原因
- linux /etc/security/limits.conf的相关说明
- 嵌入式linux面试题解析(一)——ARM部分一
- 消息队列(msg)
- centos5 下 lida 调试环境搭建
- windows7上搭建yum源,解决linux安装软件依赖繁琐的问题
- echo命令基本用法
- Linux学习记录
- Linux下使用javac编译
- CentOS Linux下VNC Server远程桌面配置详解