United States-English |
|
|
HP-UX Reference > Ggetconf(1)HP-UX 11i Version 3: February 2007 |
|
NAMEgetconf — get system configuration values DESCRIPTIONThe getconf command provides an interface to the confstr(3C), pathconf(2), and sysconf(2) library routines and system calls. The system_var argument specifies the configuration value desired in confstr(), pathconf(), or sysconf(). Use the first synopsis form, for inquiries involving confstr(), or sysconf() (in the first table below). Use the second synopsis form, for inquiries involving pathconf() (in the second table below). For inquiries involving pathconf() the pathname operand should be specified. Optionsgetconf recognizes the following option:
EXTERNAL INFLUENCESEnvironment VariablesLC_MESSAGES determines the language in which messages are displayed. If LC_MESSAGES is not specified in the environment or is set to the empty string, the value of LANG is used as a default for each unspecified or empty variable. If LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG. If any internationalization variable contains an invalid setting, getconf behaves as if all internationalization variables are set to "C". See environ(5). RETURN VALUEThe error codes returned by getconf are:
EXAMPLESRequest the number of intervals per second: getconf CLK_TCK Request the maximum value of a file's link count: getconf LINK_MAX /etc/passwd Enquire if the implementation supports multiple locality domains:
Other supported inquiries include the following:
Supported inquiries requiring the second parameter include:
|
Printable version | ||
|