Operating System - HP-UX
1834148 Members
1862 Online
110064 Solutions
New Discussion

Kmtune command does not work !!! :'0(

 
SOLVED
Go to solution
Manuales
Super Advisor

Kmtune command does not work !!! :'0(

Hi ..
server in question:
HP-UX server02 B.10.20

i'm trying to use "kmtune" command as follows:

server02:/var/adm/syslog->id
uid=0(root) gid=3(sys)
server02:/var/adm/syslog->whereis kmtune
kmtune:
server02:/var/adm/syslog->kmtune -l maxswapchunks
sh: kmtune: not found.
server02:/var/adm/syslog->kmtune -q maxswapchunks
sh: kmtune: not found.

why is not located into the system?
what do i have to do for using into the system?

please let me know.
Regards.
5 REPLIES 5
VK2COT
Honored Contributor
Solution

Re: Kmtune command does not work !!! :'0(

Hello,

Kmtune(1) is missing on
HP-UX/B.10.20/9000-712 systems.

Are you using one of those?

For HP-UX 10.20, you can use sysdef(1) to
check the current settings. Kmtune is
available on HP-UX 11.x...

Frankly, HP-UX 10.20 is obsolete and
nobody supports it any more.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Robert-Jan Goossens
Honored Contributor

Re: Kmtune command does not work !!! :'0(

Hi Manuales,

kmtune was never available in 10.20.

Use sam or manual recreate your kernel.

---
Configuring Kernel Parameters in 10.X

In HP-UX 10.X we recommend modifying the kernel parameters SAM allows, and then manually modifying the hpux_aes_overide parameter. The hpux_aes_override kernel parameter is the only recommended parameter that must be modified manually. We recommend using SAM for the other parameters to take advantage of its built-in kernel parameter rule check function.

NOTE: Apply patch PHCO_11647 if you use this parameter on HP-UX 10.X. Failure to do so can cause some "apparent" corruption in parts of the file system where trasnition links occur.

To configure a kernel manually, you must be super-user. All work related to creating a new kernel in 10.X takes place in the /stand/build directory. Follow these steps:

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system
Either add or modify the entries to match:
# mk_kernel -s system
# mv /stand/system /stand/system.prev
# mv /stand/build/system /stand/system
# mv /stand/vmunix /stand/vmunix.prev
# mv /stand/build/vmunix_test /stand/vmunix
# cd / ; shutdown -ry 0
---

Regards,

Robert-Jan
Manuales
Super Advisor

Re: Kmtune command does not work !!! :'0(

perfect, sysdef worked !!! thanks a lot.
Matti_Kurkela
Honored Contributor

Re: Kmtune command does not work !!! :'0(

Kmtune was developed for HP-UX 11.00. It does not exist in 10.20.

The simplest way to modify kernel parameters is to use "sam". It works in all HP-UX versions from 10.20 to 11.31. (When sam is used to configure the kernel in 11.23 and above, it actually starts up "kctune", which looks different but is just as easy to use.)

If you must configure the kernel using only the command line on 10.20, it seems to me you must copy the current /stand/system file, modify it using vi or some other text editor, and then use the "mk_kernel" command.

To view the current configuration using the command line on 10.20, you can use the "sysdef" command, or simply view the contents of /stand/system.

MK
MK
James R. Ferguson
Acclaimed Contributor

Re: Kmtune command does not work !!! :'0(

Hi Manuales:

To add to this dicussion. On 10.20, as noted, you can use 'sysdef' to view kernel parameters.

On 11.0 through 11.11 you use 'kmtune'.

On 11.23 and later, use 'kctune'

In the case of 'sysdef', the command continued to be useable at 11.0. However, its results were not always consistent with 'kmtune' since is was intended to be deprecated and was not kept up-to-date.

Use the currently supported commands that are appropriate for the rrelease you are running, as I noted above.

Regards!

...JRF...