1827885 Members
1468 Online
109969 Solutions
New Discussion

Re: structure syswait

 
Vacquier
Occasional Advisor

structure syswait

Hi,
I used structure syswait on precedent versions of HP-UX; with 11.31 version this structure has disappeared and is only referenced as extern in /usr/include/sys/sar.h. Does anyone know if this structure still exist, if a patch is necessary or if there is another way to get iowait.
Thanks in advance
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: structure syswait

Shalom,

This sar based script will provide i/o wait information.

http://www.hpux.ws/?p=6

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vacquier
Occasional Advisor

Re: structure syswait

Thanks but I need to use C programming and no script or system call because of performance constraints.
Dennis Handly
Acclaimed Contributor

Re: structure syswait

>I used structure syswait on precedent versions of HP-UX; with 11.31 version this structure has disappeared

If it disappeared it was removed as undocumented (with all of the 11.31 header cleanup) and you weren't suppose to use it.

>Does anyone know if this structure still exist or if there is another way to get iowait.

What are you trying to do? What does iowait mean?

>no ... system call because of performance constraints.

You were probably making a syscall.
You can use tusc to verify.