16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

getconf — Get configuration values<br />

Format<br />

Description<br />

Options<br />

getconf –a<br />

getconf system_var<br />

getconf [–a] path_var pathname<br />

getconf writes the value of a configuration variable to the standard output (stdout).<br />

You can specify the configuration variable using one of forms listed in the Format<br />

section. If you use the first form, getconf writes the value of the variable<br />

system_var. If you use the second form, getconf writes the value of the variable<br />

path_var for the pathname given by pathname. The –a option prompts getconf to<br />

display all current configuration variables, and their values, to stdout.<br />

getconf writes numeric values in decimal format and nonnumeric values as simple<br />

strings. If the value is not defined, getconf writes the string undefined to stdout.<br />

–a Writes out all the configuration variables for the current system, and their<br />

values, to stdout. Path variables are written based on a pathname of dot<br />

(.).<br />

Configuration Variables<br />

You can use the second form of getconf to find the value of the following<br />

P<strong>OS</strong>IX.1-1990 standard configuration variables for the specified pathname:<br />

LINK_MAX<br />

Specifies the maximum number of links that this file can have.<br />

MAX_CANON<br />

Specifies the maximum number of bytes in the workstation’s canonical input<br />

queue (before line editing).<br />

MAX_INPUT<br />

Specifies the space available in the workstation’s input queue.<br />

NAME_MAX<br />

Specifies the largest filename size.<br />

PATH Specifies the standard PATH setting.<br />

_CS_PATH<br />

Specifies the standard PATH setting.<br />

PATH_MAX<br />

Specifies the maximum number of bytes in a pathname.<br />

PIPE_BUF<br />

Specifies the largest atomic write to a pipe.<br />

_P<strong>OS</strong>IX_CHOWN_RESTRICTED<br />

Specifies the restrictions that apply to file ownership changes.<br />

getconf<br />

_P<strong>OS</strong>IX_NO_TRUNC<br />

If set, it is an error for any pathname component to be longer than NAME_MAX<br />

bytes.<br />

Chapter 2. Shell command descriptions 295

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!