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

131 lines
3.4 KiB
HTML
Raw 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>getconf - Get configuration values</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>getconf - Get configuration values</h2>
<strong>Synopsis</strong>
<p><strong>getconf</strong> [ <em>name</em> [ <em>pathname</em> ]
]</p>
<p><strong>Description</strong></p>
<p>The <strong>getconf</strong> utility displays the POSIX
configuration variables. If you specify <em>name</em>, <strong>
getconf</strong> displays the value of the configuration variable on
standard output. When the configuration variable depends on a path
name you must specify <em>pathname</em>.</p>
<p>When no arguments are specified, <strong>getconf</strong> displays a
list of all the configuration variables and their values. For those
configuration variables that depend on a path name, <strong>
getconf</strong> uses /.</p>
<p><strong>Options</strong></p>
<p>None.</p>
<p><strong>Operands</strong></p>
<p>If specified, <em>name</em> is one of these values:</p>
<dl>
<dt><strong>CCSID</strong></dt>
<dd>Represents the default coded character set identifier (CCSID) used internally for
integrated file system path names.<p></dd>
<dt><strong>CHOWN_RESTRICTED</strong></dt>
<dd>Restrict the use of <strong>chown</strong>
on the object represented by <em>pathname</em> to a job with
appropriate privileges.<p></dd>
<dt><strong>CLK_TCK</strong></dt>
<dd>The number of clock ticks in a second.<p></dd>
<dt><strong>LINK_MAX</strong></dt>
<dd>Maximum number of links the object represented by
<em>pathname</em> can have.<p></dd>
<dt><strong>NAME_MAX</strong></dt>
<dd>Maximum number of bytes in a file name (the last
component of the path name).<p></dd>
<dt><strong>NGROUPS_MAX</strong></dt>
<dd>Maximum number of supplementary group IDs that
can be associated with a job.<p></dd>
<dt><strong>NO_TRUNC</strong></dt>
<dd>Generate an error if a file name is longer than
NAME_MAX.<p></dd>
<dt><strong>OPEN_MAX</strong></dt>
<dd>Maximum number of files a single job can have open
at one time.<p></dd>
<dt><strong>PAGE_SIZE</strong></dt>
<dd>Represents the system hardware page size.<p></dd>
<dt><strong>PAGESIZE</strong></dt>
<dd>Represents the system hardware page size.<p></dd>
<dt><strong>PATH_MAX</strong></dt>
<dd>Maximum number of bytes in a complete path name.<p></dd>
<dt><strong>PIPE_BUF</strong></dt>
<dd>Maximum number of bytes that can be written atomically to a pipe.<p></dd>
<dt><strong>STREAM_MAX</strong></dt>
<dd>Maximum number of streams that a job can have open
at one time.<p></dd>
<dt><strong>THREAD_SAFE</strong></dt>
<dd>The object represented by <em>pathname</em>
resides in a thread-safe file system.<p></dd>
</dl>
<p><strong>Exit Status</strong></p>
<ul>
<li>0 when successful.</li>
<li>&gt;0 when successful.</li>
</ul>
<strong>Examples</strong>
<ol>
<li>Determine if the directory /home is in a thread-safe file
system:
<pre>
getconf THREAD_SAFE /home
</pre>
</li>
<li>Display the maximum number of bytes in a file name:
<pre>
getconf NAME_MAX
</pre>
</li>
<li>Display all of the configuration variables:
<pre>
getconf
</pre>
</li>
</ol>
</body>
</html>