1843246 Members
4351 Online
110214 Solutions
New Discussion

need C expert help!

 
kongxt
Occasional Contributor

need C expert help!

i'm developing an app quite similar with "top" command,but i just can't caculate the "TIME" column.
according to a sample program, i should get the "_hz" value from kernel,but will it be available using nlist64 function?
or,what's the information i can get from the kernel by nlist64? {"cache_tlb_parms"},{"cpu_has_hw_tlb_assist"},{"ifnet"},and ???
My OS is HP-UX 11.11,and kernel is /stand/vmunix.
1 REPLY 1
Alessandro Pilati
Esteemed Contributor

Re: need C expert help!

Kong,
have a look to this hint:
http://www.talkaboutcomputing.com/group/comp.sys.hp.hpux/messages/153681.html

Hope this helps,
Regards,
Alex
if you don't try, you'll never know if you are able to