{"id":6108,"date":"2019-12-30T23:44:50","date_gmt":"2019-12-30T15:44:50","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6108"},"modified":"2019-12-31T16:15:22","modified_gmt":"2019-12-31T08:15:22","slug":"ipcrm","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/ipcrm","title":{"rendered":"ipcrm\u547d\u4ee4 – \u79fb\u9664\u4e00\u4e2a\u6d88\u606f\u5bf9\u8c61\u3001\u5171\u4eab\u5185\u5b58\u6bb5\u6216\u4fe1\u53f7\u96c6"},"content":{"rendered":"\n

ipcrm\u547d\u4ee4\u7528\u6765\u5220\u9664\u4e00\u4e2a\u6216\u66f4\u591a\u7684\u6d88\u606f\u961f\u5217\u3001\u4fe1\u53f7\u91cf\u96c6\u6216\u8005\u5171\u4eab\u5185\u5b58\u6807\u8bc6\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>ipcrm [\u53c2\u6570] <\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong> <\/p>\n\n\n\n

-m<\/td>SharedMemory id \u5220\u9664\u5171\u4eab\u5185\u5b58\u6807\u8bc6 SharedMemoryID<\/td><\/tr>
-M<\/td>SharedMemoryKey \u5220\u9664\u7528\u5173\u952e\u5b57 SharedMemoryKey \u521b\u5efa\u7684\u5171\u4eab\u5185\u5b58\u6807\u8bc6<\/td><\/tr>
-q<\/td>MessageID \u5220\u9664\u6d88\u606f\u961f\u5217\u6807\u8bc6 MessageID \u548c\u4e0e\u5176\u76f8\u5173\u7684\u6d88\u606f\u961f\u5217\u548c\u6570\u636e\u7ed3\u6784<\/td><\/tr>
-Q<\/td>MessageKey \u5220\u9664\u7531\u5173\u952e\u5b57 MessageKey \u521b\u5efa\u7684\u6d88\u606f\u961f\u5217\u6807\u8bc6\u548c\u4e0e\u5176\u76f8\u5173\u7684\u6d88\u606f\u961f\u5217\u548c\u6570\u636e\u7ed3\u6784<\/td><\/tr>
-s<\/td>SemaphoreID \u5220\u9664\u4fe1\u53f7\u91cf\u6807\u8bc6 SemaphoreID \u548c\u4e0e\u5176\u76f8\u5173\u7684\u4fe1\u53f7\u91cf\u96c6\u53ca\u6570\u636e\u7ed3\u6784<\/td><\/tr>
-S<\/td>SemaphoreKey \u5220\u9664\u7531\u5173\u952e\u5b57 SemaphoreKey \u521b\u5efa\u7684\u4fe1\u53f7\u6807\u8bc6\u548c\u4e0e\u5176\u76f8\u5173\u7684\u4fe1\u53f7\u91cf\u96c6\u548c\u6570\u636e\u7ed3\u6784<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong> <\/p>\n\n\n\n

\u5220\u9664\u548c SharedMemoryID 18163 \u76f8\u5173\u7684\u5171\u4eab\u5185\u5b58\u6bb5\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# ipcrm -m 18163<\/pre>\n\n\n\n

\u5220\u9664\u548c MessageID 18163 \u76f8\u5173\u7684\u5171\u4eab\u5185\u5b58\u6bb5\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# ipcrm -q 18163 <\/pre>\n","protected":false},"excerpt":{"rendered":"

ipcrm\u547d\u4ee4\u7528\u6765\u5220\u9664\u4e00\u4e2a\u6216\u66f4\u591a\u7684\u6d88\u606f\u961f\u5217\u3001\u4fe1\u53f7\u91cf\u96c6\u6216\u8005\u5171\u4eab\u5185\u5b58\u6807\u8bc6\u3002 \u8bed\u6cd5\u683c\u5f0f\uff1aipcrm [\u53c2\u6570] \u5e38\u7528\u53c2 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6108"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=6108"}],"version-history":[{"count":9,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6108\/revisions"}],"predecessor-version":[{"id":6261,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6108\/revisions\/6261"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}