ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahz_5.4.0.1/ipcrm.htm

93 lines
2.3 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<meta http-equiv="Content-Type" content=
"text/html; charset=utf-8">
<title>ipcrm - Remove interprocess communication identifier</title>
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</HEAD>
<body bgcolor="#FFFFFF">
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<p></p>
<h2>ipcrm - Remove interprocess communication identifier</h2>
<p><strong>Synopsis</strong></p>
<p>
<strong>ipcrm [-m</strong> <em>shmid</em><strong>] [-M</strong> <em>shmkey</em><strong>]
[-q</strong> <em>msgid</em><strong>] [-Q</strong> <em>msgkey</em><strong>]
[-s</strong> <em>semid</em><strong>] [-S</strong> <em>semkey</em><strong>]</strong>
<p><strong>Description</strong></p>
<p>The <strong>ipcrm</strong> utility removes an interprocess communication (IPC)
entry if the caller has the necessary authority to the IPC entry.
The caller can specify an entry either by the key or by the identifier. The caller can
remove multiple entries at once.</p>
<p><strong>Options</strong></p>
<dl>
<dt><strong>-M</strong> <em>shmkey</em></dt>
<dd>Remove the shared memory segment with the specified key.</dd>
<dt><strong>-m</strong> <em>shmid</em></dt>
<dd>Remove the shared memory segment with the specified id.</dd>
<dt><strong>-Q</strong> <em>msgkey</em></dt>
<dd>Remove the message queue with the specified key.</dd>
<dt><strong>-q</strong> <em>msgid</em></dt>
<dd>Remove the message queue with the specified id.</dd>
<dt><strong>-S</strong> <em>semKey</em></dt>
<dd>Remove the semaphore set with the specified key.</dd>
<dt><strong>-s</strong> <em>semid</em></dt>
<dd>Remove the semaphore set with the specified id.</dd>
</dl>
<p><strong>Operands</strong></p>
<p>There are no operands.</p>
<p><strong>Exit Status</strong></p>
<ul>
<li>0 on success
<li>&gt;0 if an error occurs
</ul>
<p><strong>Related Information</strong></p>
<ul>
<li><a href="ipcs.htm">ipcs - Report interprocess communication status</a>
</ul>
<p><strong>Examples</strong></p>
<ul>
<li>Remove a semaphore with key 1283 and a message queue with id 10:
<pre>
ipcrm -S 1283 -q 10
</pre></li>
</ul>
<p></p>
<!-- end ibmbody========================================================= -->
</body>
</html>