Operating System - HP-UX
1834917 Members
2537 Online
110071 Solutions
New Discussion

Re: "Apply Tuned Parameter Set" by command line

 
darcos
New Member

"Apply Tuned Parameter Set" by command line

Hi,
is there a command line doing the same as SAM in "Kernel > Configurable Parameters > Actions: Apply Tuned Parameter Set"

The parameters are defined in an .tun file in /usr/sam/lib/kc/tuned directory

Thanks a lot
Xavier
4 REPLIES 4
Animesh Chakraborty
Honored Contributor

Re: "Apply Tuned Parameter Set" by command line

Stefan Farrelly
Honored Contributor

Re: "Apply Tuned Parameter Set" by command line


Using SAM acually apply a tuned parameter set then check the sam log in /var/sam/log/samlog and it will show you the command it ran to apply it.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Keely Jackson
Trusted Contributor

Re: "Apply Tuned Parameter Set" by command line

Hi

Not really sure, but it is probably worth having a look at the man pages for kmtune, kmsystem etc (assuming v 11.0). They might let you do something similar to what you want.

Cheers
Keely
Live long and prosper
Ravi_8
Honored Contributor

Re: "Apply Tuned Parameter Set" by command line

Hi, Xavier

#kmtune is the command to get/set the kernel parameters.

To set a value to any parameter
#kmtune -s shmmax=value (shmmax is parameter here)
After this you have to build the kernel manually and reboot.
never give up