Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Tunable Kernel Parameters: HP-UX Release 11i Version 1.6 > Chapter 1 Overview

How to Specify Configurable Parameter Values

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

All configurable kernel parameters must be specified using an integer value or a formula consisting of a valid integer expression. All can be specified as an integer, and most can be specified using a formula; but only a minority are usually specified using formula values.

Entering Values

Use the kcweb web interface or the kmtune command to view and change values. kcweb is described in the kcweb(1M) manpage and in the program's help topics. You can run kcweb from the command line or from the System Administration Manager (SAM); see sam(1M). You run kmtune from the command line; see kmtune(1M) for details.

Integer Values

You can use any (optionally signed) integer value.

Formula Values

When using formulas to specify a parameter value, the formula must be an integer expression. In other words, every element in the expression must be an integer value as defined for the C programming language.

Configurable parameter names are usually lowercase but the values assigned to them are specified in formulas as the same name in capitals. For example, the value assigned to npty (by a C-language #define statement) is NPTY. Thus, a typical formula for nfile is:

((16*(NPROC+16+MAXUSERS)/10)+32+2*NPTY)

where NPROC represents the defined value of nproc, MAXUSERS represents the defined value of maxusers, and NPTY represents the defined value for npty. There are a few isolated exceptions to the uppercase/lowercase rule on certain systems, but they are few.

Whitespace (spaces and tabs) are not allowed.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2000-2003 Hewlett-Packard Development Company, L.P.