ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/statfs.htm

149 lines
4.8 KiB
HTML

<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Display Mounted FS Information (STATFS)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="STATFS.Top_Of_Page"></a>
<h2>Display Mounted FS Information (STATFS)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#STATFS.PARAMETERS.TABLE">Parameters</a><br>
<a href="#STATFS.COMMAND.EXAMPLES">Examples</a><br>
<a href="#STATFS.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="STATFS"></a>
<p>The Display Mounted File System Information (STATFS) command displays information about a mounted file system.
</p>
<p>This command can also be issued using the following alternative command name:
</p>
<ul>
<li>DSPMFSINF
</li>
</ul>
<p>For more information about integrated file system commands, see the Integrated file system information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
</p>
<p><b>Restrictions:</b>
</p>
<ol>
<li>The user must have execute (*X) authority to each directory in the path.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#STATFS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="STATFS.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top"><a href="#STATFS.OBJ"><b>OBJ</b></a></td>
<td valign="top">Object</td>
<td valign="top"><i>Path name</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#STATFS.OUTPUT"><b>OUTPUT</b></a></td>
<td valign="top">Output</td>
<td valign="top"><b><u>*</u></b>, *PRINT</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#STATFS.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="STATFS.OBJ"></a>
<h3>Object (OBJ)</h3>
<p>Specifies the path name of an object that is within the mounted file system whose statistics are to be displayed. Any object in the mounted file system can be specified. For example, it can be a directory (*DIR) or a stream file (*STMF).
</p>
<p>For more information on specifying path names, refer to "Object naming rules" in the CL concepts and reference topic in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STATFS.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STATFS.OUTPUT"></a>
<h3>Output (OUTPUT)</h3>
<p>Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
</p>
<dl>
<dt><b><u>*</u></b></dt>
<dd>The output is displayed for interactive jobs or printed with the job's spooled output for non-interactive jobs.
</dd>
</dl>
<dl>
<dt><b>*PRINT</b></dt>
<dd>The output is printed with the job's spooled output.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STATFS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STATFS.COMMAND.EXAMPLES">Examples</a> </h3>
<p>The alternative command name for STATFS is DSPMFSINF. The following examples use the alternative command name, but STATFS can be replaced directly for DSPMFSINF in all of them.
</p>
<p><b>Example 1: Displaying Statistics of a Mounted File System</b>
</p>
<p>
<pre>
DSPMFSINF OBJ('/jsmith/file1')
</pre>
</p>
<p>This command displays the statistics for the mounted file system that contains <i>/jsmith/file1</i>.
</p>
<p><b>Example 2: Displaying QSYS.LIB File System Statistics</b>
</p>
<p>
<pre>
DSPMFSINF OBJ('/QSYS.LIB/MYLIB.LIB/MYFILE.FILE')
</pre>
</p>
<p>This command displays the statistics for the QSYS.LIB file system that contains *FILE object MYFILE in library MYLIB.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STATFS.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STATFS.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPFA0A9</b></dt>
<dd>Object not found. Object is &amp;1.
</dd>
<dt><b>CPFA09C</b></dt>
<dd>Not authorized to object. Object is &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STATFS.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>