DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Configuring kernel parameters

Examining and changing configuration-dependent values

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:

$ getconf NZERO
20
$ getconf CLK_TCK
100

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
255
# getconf NAME_MAX /xenix_filesystem
14

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 setconf(ADM) 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.


NOTE: Any change that you make using setconf remains in force only until the system is next rebooted. Use the Hardware/Kernel Manager or configure to make the change permanent.


Previous topic: LAN Manager Client Filesystem parameters

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003