| United States-English |
|
|
|
![]() |
HP-UX 11i Version 1.5 Reference Volume 2, Section 1M: System Administration Commands > kkmtune(1M) |
|
NAMEkmtune — query, set, or reset system parameters SYNOPSIS/usr/sbin/kmtune [-l] [[-q name]...] [-S system_file] /usr/sbin/kmtune [[-s name {=|+} value]...] [[-r name]...] [-S system_file] DESCRIPTIONkmtune is used to query, set, or reset system parameters. kmtune displays the planned values of all system parameters when used without any options or with the -S or -l option. kmtune reads traditional and modular kernel configuration files. [See config(1M), master(4) and system(4).] Changes to system parameters not associated to dynamically loadable kernel modules do not take effect until the kernel has been rebuilt and the system has been rebooted. Changes to parameters associated to dynamically loadable kernel modules do not take effect until the module is re-configured and registered with the running kernel. [See config(1M) and kmupdate(1M).] OptionsThe following options are recognized by kmtune:
If the -q query option is specified, kmtune displays the following format: Brief report without -l option Parameter Current Dyn Planned Module Version ============================================================ name - - value [ "module 0.1.0] Detailed report with -l option Parameter: name Current: - Planned: planned value for next kernel or module build Default: default value Minimum: minimum Module: {"module" |-} Version: {0.1.0|-} Dynamic: No
If the -l option is specified without the -q query option, a detailed report on all the parameters is displayed. The information between the parameters is separated by blank lines. If the parameter has no minimum value specified in its master file, minimum will be displayed as '-' (dash). In the brief report, the Module and Version fields are blank unless the parameter is associated to a modularly packaged module. [See config(1M).] In the detailed report, the Module and Version fields are '-' unless the parameter is associated to a modularly packaged module. Multiple module versioning is planned for future releases. Currently, all modularly packaged modules are assigned default version number 0.1.0. The Current and Dynamic fields are reserved for future releases. In the brief report, a '-' is displayed for the Current and Dyn fields. In the detailed report, the values for Current and Dynamic are always '-' and 'No', respectively. If the -s set option is specified with an equal (=) separator and the minimum value of the parameter is described in its master file, the value range is checked. If the minimum value or the specified value is a formula, the check is not made. If the -s set option with a plus (+) separator is specified and the original value is not numeric, an error is reported. NOTESSystem administrators must use kmsystem(1M) and kmtune(1M) instead of editing files manually. The format of kernel configuration files is subject to change, and kmtune is intended to provide compatibility in case of format change. System parameters can be associated to a specific kernel module even if the module is not capable of dynamic loading, as long as the kernel module is modularly packaged. [See config(1M), master(4) and system(4).] RETURN VALUEUpon completion, kmtune returns with one of the following exit values:
Results of query requests are sent to stdout. Error and warning messages are sent to stderr and are self-explanatory. EXAMPLES# kmtune -q shmseg Parameter Current Dyn Planned Module Version ======================================================== shmseg - - 120 # kmtune -s shmseg=155 # kmtune -l -q shmseg Parameter: shmseg Current: - Planned: 155 Default: 120 Minimum: - Module: - Version: - Dynamic: No # kmtune -r shmseg # kmtune -q shmseg Parameter Current Dyn Planned Module Version ======================================================== shmseg - - 120
|
||||||||||||||||||||||||||||
|
|||||||||||||||