rhel6.8下的ipcs

295 篇文章 0 订阅
214 篇文章 1 订阅
[root@abc ~]#  ipcs -mp


------ Shared Memory Creator/Last-op --------
shmid      owner      cpid       lpid      
0          highgo432  2060       9187      
65537      oracle     3171       9181      
98306      oracle     3171       9181      
131075     oracle     3171       9181      
                      cpid---是该shmid的创建进程号
                                 lpid---是该shmid最后一次访问的进程号

[root@abc ~]# ps -ef | grep 2060
501        2060      1  0 Jun05 ?        00:00:00 /data/highgo/4.3.2/bin/postgres -D /data/highgo/4.3.2/data
501        2062   2060  0 Jun05 ?        00:00:00 postgres: checkpointer process                            
501        2063   2060  0 Jun05 ?        00:00:00 postgres: writer process                                  
501        2064   2060  0 Jun05 ?        00:00:00 postgres: wal writer process                              
501        2065   2060  0 Jun05 ?        00:00:00 postgres: autovacuum launcher process                     
501        2066   2060  0 Jun05 ?        00:00:00 postgres: stats collector process                         
root       9192   8485  0 12:48 pts/1    00:00:00 grep 2060
[root@abc ~]# ipca -ma
-bash: ipca: command not found
[root@abc ~]# ipcs -ma


------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x0052e2c1 0          highgo432  600        56         5                       
0x00000000 65537      oracle     640        12582912   24                      
0x00000000 98306      oracle     640        511705088  24                      
0x0447bbc8 131075     oracle     640        2097152    24                      


------ Semaphore Arrays --------
key        semid      owner      perms      nsems     
0x00000000 0          root       600        1         
0x00000000 32769      root       600        1         
0x0052e2c1 65538      highgo432  600        17        
0x0052e2c2 98307      highgo432  600        17        
0x0052e2c3 131076     highgo432  600        17        
0x0052e2c4 163845     highgo432  600        17        
0x0052e2c5 196614     highgo432  600        17        
0x0052e2c6 229383     highgo432  600        17        
0x0052e2c7 262152     highgo432  600        17        
0x0052e2c8 294921     highgo432  600        17        
0x0052e2c9 327690     highgo432  600        17        
0x0052e2ca 360459     highgo432  600        17        
0x0052e2cb 393228     highgo432  600        17        
0x0052e2cc 425997     highgo432  600        17        
0x0052e2cd 458766     highgo432  600        17        
0x0052e2ce 491535     highgo432  600        17        
0x0052e2cf 524304     highgo432  600        17        
0x0052e2d0 557073     highgo432  600        17        
0x0052e2d1 589842     highgo432  600        17        
0x0052e2d2 622611     highgo432  600        17        
0x0052e2d3 655380     highgo432  600        17        
0x0052e2d4 688149     highgo432  600        17        
0x53395fcc 819222     oracle     640        604       


------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages    


[root@abc ~]# 

[root@abc ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.8 (Santiago)
[root@abc ~]# ps -ef | grep 9187
root       9216   8485  0 12:52 pts/1    00:00:00 grep 9187
[root@abc ~]# ps -ef | grep 9181
root       9218   8485  0 12:53 pts/1    00:00:00 grep 9181
[root@abc ~]# 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值