69 lines
2.1 KiB
HTML
69 lines
2.1 KiB
HTML
|
<!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>clrtmp - Clear the /tmp directory</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>
|
||
|
|
||
|
|
||
|
|
||
|
<h2>clrtmp - Clear the /tmp directory</h2>
|
||
|
|
||
|
<strong>Synopsis</strong>
|
||
|
|
||
|
<p><strong>clrtmp [-c]</strong></p>
|
||
|
|
||
|
<p><strong>Description</strong></p>
|
||
|
|
||
|
<p>The <strong>clrtmp</strong> utility clears the /tmp directory by removing
|
||
|
all of the objects from it.
|
||
|
On other systems, the /tmp directory is cleared each time the system
|
||
|
is started. On i5/OS<SUP>(TM)</SUP>, the /tmp directory is not cleared when the
|
||
|
system is started. You can include a call to the <strong>clrtmp</strong> utility
|
||
|
from the startup program specified by the QSTRUPPGM system value
|
||
|
to have the /tmp directory cleared when i5/OS<SUP>(TM)</SUP> is started.</p>
|
||
|
|
||
|
<p>To remove objects from the /tmp directory the caller of <strong>clrtmp</strong>
|
||
|
must have *WX authority to each subdirectory contained in /tmp and *OBJEXIST authority
|
||
|
to each object. If the caller does not have the required authority those objects are not
|
||
|
removed from the /tmp directory.</p>
|
||
|
|
||
|
<p>Unpredictable results may occur if <strong>clrtmp</strong> is called while the system
|
||
|
is running. For example, if another program is writing to a file in the /tmp
|
||
|
directory, the path to the file is removed and you will not be able use the file.</p>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td valign="top"><strong>Note:</strong></td>
|
||
|
<td>This utility is unique to i5/OS<SUP>(TM)</SUP>.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<p><strong>Options</strong></p>
|
||
|
|
||
|
<dl>
|
||
|
<dt><strong>-c</strong></dt>
|
||
|
|
||
|
<dd>Create /tmp if it does not exist.</dd>
|
||
|
</dl>
|
||
|
|
||
|
<p><strong>Exit Status</strong></p>
|
||
|
|
||
|
<ul>
|
||
|
<li>0 when successful</li>
|
||
|
|
||
|
<li>>0 when an error occurs or at least one object could not be
|
||
|
removed from the /tmp directory</li>
|
||
|
</ul>
|
||
|
|
||
|
<!-- end ibmbody========================================================= -->
|
||
|
</body>
|
||
|
</html>
|
||
|
|