ipcs使用

ipcs使用root node1 manipcsIPCS 8 nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp LinuxProgram sManual nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp IPCS 8 NAME nbsp nbsp nbsp nbsp ipcs provideinfor nbsp nbsp nbsp nbsp ipcs asmq

[root@node1 ~]# man ipcs
IPCS(8)                    Linux Programmer’s Manual                   IPCS(8)

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)




















[root@node1 ~]# ipcs

—— Shared Memory Segments ——–
key        shmid      owner      perms      bytes      nattch     status      
0xd    root      600        4          0                       
0x00000000    root      644        80         2                       
0xc    root      600        4          0                       
0x00000000    root      644        16384      2                       
0x00000000   root      644        280        2                       
0x6c00002c   zabbix    600             6                       
0x00000000   root      600             2          dest         
0x    root      600        4          0                       
0x00000000   root      600             2          dest         
0x00000000   root      600             2          dest         
0x00000000   root      600             2          dest         
0x00000000   root      600             2          dest         
0x00000000   root      600             2          dest         
0x00000000   root      600             2          dest         
0x00000000   grid      600             2          dest         
0x00000000   grid      600             2          dest         
0x00000000   root      600             2          dest         
0x00000000   grid      600             2          dest         
0x00000000   grid      600             2          dest         
0x00000000   grid      600             2          dest         
0x00000000   grid      600             2          dest         
0x00000000   oracle    600             2          dest         
0x00000000   oracle    600             2          dest         
0x00000000   oracle    600             2          dest         
0x00000000   oracle    600             2          dest         
0x00000000   oracle    600             2          dest         
0x00000000   oracle    600             2          dest         
0x00000000   grid      640        4096       0                       
0x00000000   grid      640        4096       0                       
0xa65c9e90   grid      640        4096       0                       
0x00000000   oracle    640        4096       0                       
0x00000000   oracle    640        4096       0                       
0x0dbf9df8   oracle    640        4096       0                       
0x00000000   grid      600             2          dest         
0x00000000   grid      600             2          dest         

—— Semaphore Arrays ——–
key        semid      owner      perms      nsems     
0x000000a7 0          root      600        1         
0x7a00002c 32769      zabbix    600        13        
0xe43eb780     grid      640        684       
0x4f50ede4     oracle    640        154       

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

[root@node1 ~]# 
[root@node1 ~]# ipcs -m

—— Shared Memory Segments ——–
key        shmid      owner      perms      bytes      nattch     status      
0xd    root      600        4          0                       
0x00000000    root      644        80         2                       
0xc    root      600        4          0                       
0x00000000    root      644        16384      2                       
0x00000000   root      644        280        2                       
0x6c00002c   zabbix    600             6                       
0x00000000   root      600             2          dest         
0x    root      600        4          0                       
0x00000000   root      600             2          dest         
0x00000000   root      600             2          dest         
0x00000000   root      600             2          dest         
0x00000000   root      600             2          dest         
0x00000000   root      600             2          dest         
0x00000000   root      600             2          dest         
0x00000000   grid      600             2          dest         
0x00000000   grid      600             2          dest         
0x00000000   root      600             2          dest         
0x00000000   grid      600             2          dest         
0x00000000   grid      600             2          dest         
0x00000000   grid      600             2          dest         
0x00000000   grid      600             2          dest         
0x00000000   oracle    600             2          dest         
0x00000000   oracle    600             2          dest         
0x00000000   oracle    600             2          dest         
0x00000000   oracle    600             2          dest         
0x00000000   oracle    600             2          dest         
0x00000000   oracle    600             2          dest         
0x00000000   grid      640        4096       0                       
0x00000000   grid      640        4096       0                       
0xa65c9e90   grid      640        4096       0                       
0x00000000   oracle    640        4096       0                       
0x00000000   oracle    640        4096       0                       
0x0dbf9df8   oracle    640        4096       0                       
0x00000000   grid      600             2          dest         
0x00000000   grid      600             2          dest         

[root@node1 ~]# ipcs -s

—— Semaphore Arrays ——–
key        semid      owner      perms      nsems     
0x000000a7 0          root      600        1         
0x7a00002c 32769      zabbix    600        13        
0xe43eb780     grid      640        684       
0x4f50ede4     oracle    640        154       

[root@node1 ~]# ipcs -q

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

[root@node1 ~]# 















































































































[root@node1 ~]# ipcs -l

—— Shared Memory Limits ——–
max number of segments = 4096
max seg size (kbytes) =
max total shared memory (kbytes) =
min seg size (bytes) = 1

—— Semaphore Limits ——–
max number of arrays = 2048
max semaphores per array = 5010
max semaphores system wide =
max ops per semop call = 5010
semaphore max value = 32767

—— Messages: Limits ——–
max queues system wide = 16
max size of message (bytes) = 65536
default max size of queue (bytes) = 65536

[root@node1 ~]# 
[root@node1 ~]# 
[root@node1 ~]# ipcs -u


—— Shared Memory Status ——–
segments allocated 35
pages allocated 2131
pages resident  1231
pages swapped   0
Swap performance: 0 attempts     0 successes

—— Semaphore Status ——–
used arrays = 4
allocated semaphores = 852

—— Messages: Status ——–
allocated queues = 0
used headers = 0
used space = 0 bytes

[root@node1 ~]# 









































[root@node1 ~]# ipcs -t

—— Shared Memory Attach/Detach/Change Times ——–
shmid      owner      attached             detached             changed             
   root        Dec  1 19:18:46      Dec  1 19:18:46      Dec  1 19:18:46     
   root        Dec  1 19:18:49      Dec  1 19:18:49      Dec  1 19:18:49     
   root        Dec  1 19:18:46      Dec  1 19:18:46      Dec  1 19:18:46     
   root        Dec  1 19:18:49      Dec  1 19:18:49      Dec  1 19:18:49     
  root        Dec  1 19:18:49      Dec  1 19:18:49      Dec  1 19:18:49     
  zabbix      Dec  4 11:43:56      Dec  4 11:43:56      Dec  1 19:22:12     
  root        Dec  1 19:22:18      Dec  1 19:22:18      Dec  1 19:22:17     
   root        Dec  1 19:18:42      Dec  1 19:18:45      Dec  1 19:18:42     
  root        Dec  1 19:22:18      Dec  1 19:22:18      Dec  1 19:22:17     
  root        Dec  1 19:22:18      Dec  1 19:22:18      Dec  1 19:22:18     
  root        Dec  1 19:22:18      Not set              Dec  1 19:22:18     
  root        Dec  1 19:22:18      Not set              Dec  1 19:22:18     
  root        Dec  1 19:22:19      Dec  1 19:22:19      Dec  1 19:22:18     
  root        Dec  1 19:22:19      Dec  1 19:22:19      Dec  1 19:22:19     
  grid        Dec  1 19:22:20      Dec  1 19:22:20      Dec  1 19:22:19     
  grid        Dec  1 19:35:43      Dec  1 19:35:43      Dec  1 19:22:19     
  root        Dec  1 19:22:20      Not set              Dec  1 19:22:20     
  grid        Dec  1 19:22:20      Not set              Dec  1 19:22:20     
  grid        Dec  1 19:22:20      Not set              Dec  1 19:22:20     
  grid        Dec  1 19:35:43      Dec  1 19:35:43      Dec  1 19:22:20     
  grid        Dec  1 19:22:20      Not set              Dec  1 19:22:20     
  oracle      Dec  1 19:22:22      Dec  1 19:22:22      Dec  1 19:22:22     
  oracle      Dec  1 19:22:23      Dec  1 19:22:23      Dec  1 19:22:22     
  oracle      Dec  1 19:22:23      Not set              Dec  1 19:22:23     
  oracle      Dec  1 19:22:23      Not set              Dec  1 19:22:23     
  oracle      Dec  1 19:22:23      Dec  1 19:22:23      Dec  1 19:22:23     
  oracle      Dec  1 19:22:23      Not set              Dec  1 19:22:23     
  grid        Dec  4 11:39:41      Dec  4 11:39:41      Dec  1 20:31:31     
  grid        Dec  4 11:39:41      Dec  4 11:39:41      Dec  1 20:31:31     
  grid        Dec  4 11:39:41      Dec  4 11:39:41      Dec  1 20:31:31     
  oracle      Dec  4 11:43:49      Dec  4 11:43:49      Dec  1 20:32:39     
  oracle      Dec  4 11:43:49      Dec  4 11:43:49      Dec  1 20:32:39     
  oracle      Dec  4 11:43:49      Dec  4 11:43:49      Dec  1 20:32:39     
  grid        Dec  1 19:26:21      Not set              Dec  1 19:26:21     
  grid        Dec  1 19:26:21      Not set              Dec  1 19:26:21     

—— Semaphore Operation/Change Times ——–
semid    owner      last-op                    last-changed              
0        root        Tue Dec  1 19:18:50 2015   Tue Dec  1 19:18:49 2015  
32769    zabbix      Fri Dec  4 11:44:19 2015   Tue Dec  1 19:22:12 2015  
  grid        Fri Dec  4 11:44:18 2015   Fri Dec  4 11:44:18 2015  
  oracle      Fri Dec  4 11:44:17 2015   Fri Dec  4 11:44:17 2015  

—— Message Queues Send/Recv/Change Times ——–
msqid    owner      send                 recv                 change              

[root@node1 ~]# ipcs -c

—— Shared Memory Segment Creators/Owners ——–
shmid      perms      cuid       cgid       uid        gid       
   600        root       root       root       root      
   644        root       root       root       root      
   600        root       root       root       root      
   644        root       root       root       root      
  644        root       root       root       root      
  600        zabbix     zabbix     zabbix     zabbix    
  600        root       root       root       root      
   600        root       root       root       root      
  600        root       root       root       root      
  600        root       root       root       root      
  600        root       root       root       root      
  600        root       root       root       root      
  600        root       root       root       root      
  600        root       root       root       root      
  600        grid       oinstall   grid       oinstall  
  600        grid       oinstall   grid       oinstall  
  600        root       root       root       root      
  600        grid       oinstall   grid       oinstall  
  600        grid       oinstall   grid       oinstall  
  600        grid       oinstall   grid       oinstall  
  600        grid       oinstall   grid       oinstall  
  600        oracle     oinstall   oracle     oinstall  
  600        oracle     oinstall   oracle     oinstall  
  600        oracle     oinstall   oracle     oinstall  
  600        oracle     oinstall   oracle     oinstall  
  600        oracle     oinstall   oracle     oinstall  
  600        oracle     oinstall   oracle     oinstall  
  640        grid       oinstall   grid       oinstall  
  640        grid       oinstall   grid       oinstall  
  640        grid       oinstall   grid       oinstall  
  640        oracle     asmadmin   oracle     asmadmin  
  640        oracle     asmadmin   oracle     asmadmin  
  640        oracle     asmadmin   oracle     asmadmin  
  600        grid       oinstall   grid       oinstall  
  600        grid       oinstall   grid       oinstall  

—— Semaphore Arrays Creators/Owners ——–
semid      perms      cuid       cgid       uid        gid       
0          600        root       root       root       root      
32769      600        zabbix     zabbix     zabbix     zabbix    
    640        grid       oinstall   grid       oinstall  
    640        oracle     asmadmin   oracle     asmadmin  

—— Message Queues: Creators/Owners ——–
msqid      perms      cuid       cgid       uid        gid       

[root@node1 ~]# 
[root@node1 ~]# ipcs -p

—— Shared Memory Creator/Last-op ——–
shmid      owner      cpid       lpid      
   root       8875       8875      
   root       9663       9671      
   root       8823       8823      
   root       9663       9671      
  root       9663       9671      
  zabbix     15404      17619     
  root       15608      15701     
   root       7032       7032      
  root       15608      15701     
  root       15655      15713     
  root       15717      15538     
  root       15715      15538     
  root       15657      15797     
  root       15657      15797     
  grid       15822      15887     
  grid       15824      23340     
  root       15787      15538     
  grid       15883      15623     
  grid       15889      15623     
  grid       15824      23340     
  grid       15903      15623     
  oracle     16001      16062     
  oracle     16003      16157     
  oracle     16064      15777     
  oracle     16066      15777     
  oracle     16003      16157     
  oracle     16078      15777     
  grid       13735      14350     
  grid       13735      14350     
  grid       13735      14350     
  oracle     14766      17565     
  oracle     14766      17565     
  oracle     14766      17565     
  grid       15815      15623     
  grid       15815      15623     

—— Message Queues PIDs ——–
msqid      owner      lspid      lrpid     

[root@node1 ~]# 



















































































































































版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/204951.html原文链接:https://javaforall.net

(0)
上一篇 2026年3月19日 下午7:09
下一篇 2026年3月19日 下午7:09


相关推荐

  • 绘制火山图&热图

    绘制火山图&热图在上一篇文章中 我们已经对基因进行了差异分析 接下来我们根据结果中的 FDR 值和 FC 值筛选出上调基因和下调基因 并绘制成火山图与热图

    2026年3月26日
    3
  • [特殊字符] Nano-Banana效果展示:高精度Knolling平铺图生成作品集

    [特殊字符] Nano-Banana效果展示:高精度Knolling平铺图生成作品集

    2026年3月14日
    1
  • Java代码生成器原理和编写

    Java代码生成器原理和编写代码生成器的原理其实是非常简单的,主要可以分为下面两个步骤: 数据库元数据抓取 模板输出 第一步数据库元数据信息抓取这里给大家提供些简单易于操作的思路,我们找到数据库连接中的information_schema这个库,这个库就是元数据库,保存着其他库以及库表的信息,并且一直维护.我们想要做到根据数据库去动态生成代码,那么就需要拿到生成代码的对应的数据库,表,以及字段等信息.下面给大家提供一下获取数据库,获取数据库表,获取数据库表字段的SQL语句获取连接中的所有数据..

    2022年5月4日
    151
  • 整型与字符串转换

    整型与字符串转换我们写程序的时候经常会遇到整型和字符串相互转换的问题,这里要用到几个函数,itoa(),atoi(),sprintf()下面来介绍下这几个函数的具体用法!itoa功能:把一整数转换为字符串用

    2022年7月2日
    31
  • XSS注入防护

    XSS注入防护1 POM 文件加入依赖 XSS 注入 dependency groupId net dreamlu groupId artifactId mica xss artifactId version 2 0 9 GA version dependency

    2026年3月17日
    2
  • 如何上传代码到github?

    如何上传代码到github?github是什么?github是Git远程仓库。github是一个基于git的代码托管平台Git是什么:Git是一个开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目。如何上传代码到github?参考:https://www.runoob.com/git/git-remote-repo.html在githbu上注册账号注册账号 创建一个项目 获得…

    2025年6月6日
    5

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号