ipcrm使用
2016-06-21 18:53
204 查看
在linux上有的时候无法释放oracle的共享内存,导致在启动oracle的时候会报ora-27123
可以使用 ipcrm清除
ipcrm的使用
-M shmkey
removes the shared memory segment created with shmkey after the last detach is performed.
-m shmid
removes the shared memory segment identified by shmid after the last detach is performed.
-Q msgkey
removes the message queue created with msgkey.
-q msgid
removes the message queue identified by msgid.
-S semkey
removes the semaphore created with semkey.
-s semid
removes the semaphore identified by semid.
先使用ipcs [-m|-q|-s]查看有哪些贡献内存
-m 输出有关共享内存(shared memory)的信息
-q 输出有关信息队列(message queue)的信息
-s 输出有关“遮断器”(semaphore)的信息
干掉共享内存使用
ipcs -m|grep oracle|awk ‘{print $2}’|xargs ipcrm shm
可以使用 ipcrm清除
ipcrm的使用
-M shmkey
removes the shared memory segment created with shmkey after the last detach is performed.
-m shmid
removes the shared memory segment identified by shmid after the last detach is performed.
-Q msgkey
removes the message queue created with msgkey.
-q msgid
removes the message queue identified by msgid.
-S semkey
removes the semaphore created with semkey.
-s semid
removes the semaphore identified by semid.
先使用ipcs [-m|-q|-s]查看有哪些贡献内存
-m 输出有关共享内存(shared memory)的信息
-q 输出有关信息队列(message queue)的信息
-s 输出有关“遮断器”(semaphore)的信息
干掉共享内存使用
ipcs -m|grep oracle|awk ‘{print $2}’|xargs ipcrm shm
相关文章推荐
- Linux系统信息[Linux常用命令笔记]
- VS2013 调试时出现“表达式计算器中发生内部错误”的问题解决办法
- kubernetes听云实战发布版
- cocos-圆周运动 物理方法
- C#语言特性备忘
- 【NOI2013】树的计数
- iOS 常见函数
- C语言 之MySQL连接
- jQuery学习之jQuery Ajax用法详解(转)
- Unable to satisfy the following requirements解决方案
- Caffe学习:Solver
- RabbitMQ (四) 路由选择 (Routing)
- zabbix监控邮件报警功能二次开发
- 【Leafletjs】7.结合echart图表展示信息
- html中offsetTop、clientTop、scrollTop、offsetTop各属性介绍
- warning: control reaches end of non-void function
- ThinkPHP 默认开启了 session 会话
- 安卓开发中防止内存溢出浅析
- Linux--文件结构体struct file
- bzoj 1563: [NOI2009]诗人小G