ipcs

å称
     ipcs — System V ããã»ã¹ééä¿¡æ©æ§ã®å©ç¨ç¶æ³ãå ±åãã

æ¸å¼
     ipcs [-abcmopqstMQSTy] [-C core] [-N system] [-u user]

解説
     ipcs ã¦ã¼ãã£ãªãã£ã¯ãã·ã¹ãã ã® System V ããã»ã¹ééä¿¡ (IPC) æ©æ§
     ã«é¢ããæå ±ãæä¾ãã¾ãã

     ãªãã·ã§ã³ã¯ä»¥ä¸ã®éãã§ã:

     -a      使ç¨ä¸ã®ã»ããã©ãã¡ãã»ã¼ã¸ãã¥ã¼ãå±æã¡ã¢ãªã»ã°ã¡ã³ãã«é¢ãã
             å¯è½ãªéãå¤ãã®æå ±ã表示ãã¾ã(ãã㯠-b, -c, -o, -p, -t
             ãªãã·ã§ã³ãåæã«æå®ããã®ã¨åãã§ã)ã

     -b      使ç¨ä¸ã®ã»ããã©ãã¡ãã»ã¼ã¸ãã¥ã¼ãå±æã¡ã¢ãªã»ã°ã¡ã³ãã®
             æ大許容ãµã¤ãºã表示ãã¾ãã “æ大許容ãµã¤ãº(maximum allowed
             size)” ã¨ã¯ãã¡ãã»ã¼ã¸ãã¥ã¼ä¸ã®1ã¤ã®ã¡ãã»ã¼ã¸ã®æ大ãã¤ãæ°ã
             å±æã¡ã¢ãªã»ã°ã¡ã³ãã®ãµã¤ãºã®æ大ãã¤ãæ°ããããã¯ä¸çµã®ã»ããã©ä¸ã®
             ã»ããã©ã®æ°ãæå³ãã¾ãã

     -c      使ç¨ä¸ã®ã»ããã©ãã¡ãã»ã¼ã¸ãã¥ã¼ãå±æã¡ã¢ãªã»ã°ã¡ã³ãä½æèã®ååã
             ã°ã«ã¼ãã表示ãã¾ãã

     -m      使ç¨ä¸ã®å±æã¡ã¢ãªã»ã°ã¡ã³ãã®æå ±ã表示ãã¾ãã

     -o      使ç¨ä¸ã®ã¡ãã»ã¼ã¸ã‐
             ã¥ã¼ãå±æã¡ã¢ãªã»ã°ã¡ã³ãã®ç¹å¾´çãªå©ç¨ç¶æ³ã表示ãã¾ãã
             “ç¹å¾´çãªå©ç¨ç¶æ³(outstanding usage)” ã¨ã¯ãã¡ãã»ã¼ã¸ã‐
             ã¥ã¼ã«ããã¡ãã»ã¼ã¸æ°ãå±æã¡ã¢ãªã»ã°ã¡ã³ãã ã¢ã¿ãããã¦ãããã‐
             ã»ã¹ã®æ°ã®ãã¨ã§ãã

     -p      使ç¨ä¸ã®ã»ããã©ãã¡ãã»ã¼ã¸ãã¥ã¼ãå±æã¡ã¢ãªã»ã°ã¡ã³ãã® ãã‐
             ã»ã¹IDæå ±ã表示ãã¾ãã “ããã»ã¹IDæå ±(process ID information)”
             ã¨ã¯ãã¡ãã»ã¼ã¸ãã¥ã¼ã«ã¡ãã»ã¼ã¸ãéã£ããã ã¡ãã»ã¼ã¸ã‐
             ã¥ã¼ããã¡ãã»ã¼ã¸ãåãåã£ããããæå¾ã®ããã»ã¹ã ã¾ãã¯ã»ããã©ãä½ã£ããã‐
             ã»ã¹ããå±æã¡ã¢ãªã»ã°ã¡ã³ããã¢ã¿ãããããã ãã¿ãããããããæå¾ã®ãã‐
             ã»ã¹ã®ãã¨ã§ãã

     -q      使ç¨ä¸ã®ã¡ãã»ã¼ã¸ãã¥ã¼ã«é¢ããæå ±ã表示ãã¾ãã

     -s      使ç¨ä¸ã®ã»ããã©ã«é¢ããæå ±ã表示ãã¾ãã

     -t      使ç¨ä¸ã®ã»ããã©ãã¡ãã»ã¼ã¸ãã¥ã¼ãå±æã¡ã¢ãªã»ã°ã¡ã³ãã®
             ã¢ã¯ã»ã¹æéã表示ãã¾ãã ã¢ã¯ã»ã¹æéã¨ã¯ã IPC
             ãªãã¸ã§ã¯ãã«å¯¾ããæå¾ã®å¶å¾¡æä½ãè¡ã£ãæéãã
             ã¡ãã»ã¼ã¸ãæå¾ã«éã£ããåãåã£ããããæéã
             å±æã¡ã¢ãªã»ã°ã¡ã³ããæå¾ã«ã¢ã¿ããããããã¿ãããããããæéã
             ã»ããã©ãæå¾ã«æä½ããæéã®ãã¨ã§ãã

     -C core
             ããã©ã«ãã® /dev/kmem ã®ãããã«ãæå®ãã core
             ãããååãªã¹ãã«é¢é£ããå¤ãåãåºãã¾ãã -y ãæé»çã«æå®ãã¾ãã

     -M      å±æã¡ã¢ãªã«é¢ããã·ã¹ãã æå ±ã表示ãã¾ãã

     -N system
             ããã©ã«ãã® /boot/kernel/kernel ã®ãããã«ãæå®ãã system
             ããååãªã¹ããåãåºãã¾ãã æé»çã« -y ãæå®ãã¾ãã

     -Q      ã¡ãã»ã¼ã¸ãã¥ã¼ã«é¢ããã·ã¹ãã æå ±ã表示ãã¾ãã

     -S      ã»ããã©ã«é¢ããã·ã¹ãã æå ±ã表示ãã¾ãã

     -T      å±æã¡ã¢ãªãã¡ãã»ã¼ã¸ãã¥ã¼ãã»ããã©ã«é¢ããã·ã¹ãã æå ±ã表示ãã¾ãã

     -y      å¿è¦ãªæå ±ãåå¾ããããã«ã sysctl(3) ã¤ã³ã¿ãã§ã¼ã¹ã®ä»£ãã« kvm(3)
             ã¤ã³ã¿ãã§ã¼ã¹ã使ç¨ãã¾ãã å®è¡ä¸ã®ã·ã¹ãã ã«å¯¾ã㦠ipcs
             ã使ç¨ããå ´åã kvm(3) ã使ãã«ã¯ /dev/kmem
             ã«å¯¾ãã権éãå¿è¦ã¨ãªãã¾ãã

     -u user
             ã¦ã¼ã¶ user ãææãã IPC æ©æ§ã«é¢ããæå ±ã表示ãã¾ãã ã¦ã¼ã¶ã®æå®ã¯
             UID ã®æ°å¤ã¾ãã¯ãã°ã¤ã³åã®å½¢å¼ã§æå®ãããã¨ãå¯è½ã§ãã

     ããã -M, -m, -Q, -q, -S, -s ãªãã·ã§ã³ãããããæå®ããã¦ããªããã°ã使ç¨ä¸ã® IPC
     æ©æ§ã«é¢ããæå ±ã 表示ããã¾ãã

å¶é
     ã·ã¹ãã ãã¼ã¿ã®æ§é ã¯ã ipcs ã®å®è¡ä¸ã«ãå¤åããããããã¾ãã; ipcs
     ã®åºåãçç¾ã®ãªããã®ã§ãããã¨ã¯ä¿è¨¼ããã¾ããã

ãã°
     ãã®ããã¥ã¢ã«ãã¼ã¸ã¯ãå®å¨ãªãã®ã§ã¯ããã¾ããã ãªããªãã ipcs
     ã§è¡¨ç¤ºãããæå ±ã«ã¤ãã¦èª¬æãã¦ããªãããã§ãã

é¢é£ãã¡ã¤ã«
     /dev/kmem            ããã©ã«ãã®ã«ã¼ãã«ã¡ã¢ãª
     /boot/kernel/kernel  ããã©ã«ãã®ã·ã¹ãã ååãªã¹ã

é¢é£é ç®
     ipcrm(1)

ä½è
     Thorsten Lockert <tholo@sigmasoft.com>