getconf allows you to inspect the values of
configuration-dependent variables for various
standards, and the values of dynamic kernel table parameters.
Below is an example of the use of getconf:
This indicates that the default process priority on the system is 20 and the system clock runs at 100 ticks per second.
Path variables, such as NAME_MAX which defines the
maximum filename length, depend on the filesystem type and
therefore the pathname. These examples show the values of
NAME_MAX for an HTFS and a XENIX filesystem:
getconf NAME_MAX /htfs_filesystem
getconf NAME_MAX /xenix_filesystem
For a complete list of the variable names to use with the command see getconf(C).
If you are logged in as root, you can use the
command to change a subset of
the configuration dependent parameters.
Using setconf, you can
increase the current size of the dynamic kernel
tables or decrease their maximum possible size.
You can also dynamically increase the number of character
buffers available for use by the serial driver, for example:
setconf KERNEL_CLISTS 1024
The maximum possible number of such buffers that you can allocate is controlled by the KERNEL_CLISTS_MAX parameter.