getconf1
Get configuration values
Usage
getconf [-Ll]
[-v
specification]
name
[pathname]
Overview
The getconf utility writes the current value of a configurable system limit or option variable to the standard output.
The name argument specifies the system variable to be queried. The pathname argument must be supplied for system variables associated with a pathname.
The options are as follows:
-
-L -
List the system variables that can be used with the
getconfutility that require a pathname argument. -
-l -
List the system variables that can be used with the
getconfutility without a pathname argument. -
-v specification -
Indicate a specific version and compilation environment for which configuration variables shall be queried. OpenBSD does not change behavior for different compilation environments, so the argument to this option is only checked for validity.
Exit status
The getconf utility exits 0 on success, and >0 if an error occurs.
Releases
61 releases since OpenBSD 2.1; the text changed 7 times.
-L since OpenBSD 5.4;
-l since OpenBSD 5.4;
-v since OpenBSD 5.4.