Operating System - HP-UX
1834201 Members
2669 Online
110066 Solutions
New Discussion

Re: change value of kernel parameter using adb?

 
yatin
Frequent Advisor

change value of kernel parameter using adb?

I am using HP 11.23 on IA-64 machine.How can I change the value of a kernel parameter using adb .Also after reboot this values should be persistent
7 REPLIES 7
Muthukumar_5
Honored Contributor

Re: change value of kernel parameter using adb?

hai,

ADB is a debugger to be used to debug the object or core or system ( vmunix ) files and variables,etc.

To tune use the kctune command.
[ kctune -d - parameters with description ]

see kctune man page.

Parameter will keep the change from kctune.

Regards,
Muthukumar.

Easy to suggest when don't know about the problem!
Michael Tully
Honored Contributor

Re: change value of kernel parameter using adb?

yatin
Frequent Advisor

Re: change value of kernel parameter using adb?

kctune cannot find the variable how can i use adb
yatin
Frequent Advisor

Re: change value of kernel parameter using adb?

adb can print value of variable but kctune cannot find that variable
Muthukumar_5
Honored Contributor

Re: change value of kernel parameter using adb?

we can get the kernel tunnable parameters as
kctune. It will list all the parameters.

kctune
It will give the details of that parameter. We can tune it with your interested value for that variable.

adb can be used only to get the kernel variables and value for that. We can also get it with the kctune.

see kctune man page.
Easy to suggest when don't know about the problem!
Michael Tully
Honored Contributor

Re: change value of kernel parameter using adb?

From my IA 64 11.23 system

root@server:/home/tullymi 187 # kctune nflocks
Tunable Value Expression Changes
nflocks 4096 4096 Imm (auto disabled)

root@server:/home/tullymi 188 # kctune nproc
Tunable Value Expression Changes
nproc 30000 30000 Immed
Anyone for a Mutiny ?
Dietmar Konermann
Honored Contributor

Re: change value of kernel parameter using adb?

What (obviously internal?) tunable do you plan to change, who proposed that change and why? I would expect that people that recommend such kernel hacking also know how to use adb. ;-)

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)