DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

idtune(ADM)


idtune, iddeftune -- set values of tunable parameters

Syntax

/etc/conf/bin/idtune [ -f | -m ] name value [ -min new_min ] [ -max new_max ]

/etc/conf/bin/iddeftune

Description

idtune attempts to set a new value for the tunable parameter name.

If there is already a value for the parameter name in the stune(F) file, you are normally asked to confirm the change with the following message:

   Tunable Parameter name is currently set to old_value.
   Is it OK to change it to value? (y/n)
If you answer ``y'', idtune makes the change. Otherwise, the tunable parameter is not changed, and idtune displays the following message:
   name left at old_value.
If system tunable parameters are being modified as part of a device driver or application add-on package, it may be desirable for an add-on package Install script to suppress the question prompt. This can be done using one of the following options:

-f
Force the change to be made to stune. Do not output any message.

-m
Do not change the value of name in stune if it is greater than the specified value. Do not output any message.
idtune does not check whether the specified value lies between the minimum and maximum values defined in mtune. Take care not to invalidate a tunable parameter that was modified earlier (perhaps by another add-on package), or set a value that is outside the minimum and maximum values allowed by the mtune(F) file.

The -min and -max options allow you to define new minimum (new_min) and maximum (new_max) values for the parameter name in mtune. If the -m option causes idtune to fail to update the existing value in stune, it still writes the new minimum or maximum values to mtune.

In order for any changes in the values of kernel parameters made by idtune to become effective, you must relink the UNIX system kernel and reboot the system.

iddeftune is normally run at installation time to set certain kernel parameters to values that are appropriate to a system with 32MB or more of memory.

You should also run iddeftune if you increase the amount of memory in a system from less than 32MB.

In order for any changes in the values of kernel parameters made by iddeftune to become effective, you must relink the UNIX system kernel and reboot the system.

Exit values

idtune returns one of the following values on exit:

0
No error.

93
The proposed new minimum or maximum value would make the mtune inconsistent.

95
The parameter name could not be located in the mtune file.

97
Too many command line arguments.

99
Too few command line arguments.
Other non-zero exit values indicate that an error occurred when writing new values to stune or mtune.

See also

idbuild(ADM), link_unix(ADM), mtune(F), stune(F)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003