Operating System - HP-UX
1830899 Members
2365 Online
110017 Solutions
New Discussion

adb - tunable global variable

 
SOLVED
Go to solution
Volker Kiehn
Occasional Advisor

adb - tunable global variable

I'm interested in debugging the kernel. I know about global variable like vhandinfoticks (vhand prints informations to syslog). They have to been set by adb.

What is the syntax to do this?

2 REPLIES 2
Alex Glennie
Honored Contributor
Solution

Re: adb - tunable global variable

echo "vhandinfoticks/W 500" | adb -w -k /stand/vmunix /dev/mem

maybe ? where 500 =<#sec> ... I could be wrong ........
Volker Kiehn
Occasional Advisor

Re: adb - tunable global variable

that works fine

But the value 500 isn't the number of second's.

500 = vhand's cpu ticks (usually 10 ms) hex

=> 1280 tics = 12,8 sec


so we need "1F4" for 5 sec or "3E8" for 10 sec