|
|
HP-UX Reference Volume 1 of 5 > ggetconf(1) |
|
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. 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). 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 Other supported inquiries include the following:
Supported inquiries requiring the second parameter include:
|
|