[comp.sys.hp] HP-UX 7.05 -- kernel variable questions

edwin@cs.ruu.nl (Edwin Kremer) (06/07/91)

I've two  questions  concerning  HP-UX  kernel  variables.  The  systems
involved are HP9000 series 300,400 all running HP-UX 7.05. I hope one of
you kernel experts can help...

1. meas_sys
  The kernel configuration  file  "/etc/conf/dfile"  contains  a  variable
  ``meas_sys''  that is not documented in appendix A of the ``HP-UX System
  Administration Tasks'' manual. It probably has to do with some measuring
  system,  but what exactly is it? A driver for a measuring peripheral? An
  internal kernel performance measuring system? (if it is the latter, what
  tools do you need to make use of it?)

2. _dk_xfer equivalent for SCSI disk??
  I was lucky to lay my hands on a version of "xperfmon" that runs  nicely
  on HP-UX'es; it's based on the X11R4 version from MIT Athena and heavily
  hacked by Ken Sumrall (@ HP Language Labs).
    It runs nicely, but the ``disk I/O'' part only seems to  notice  HP-IB
  disk  tranfers  rates,  not SCSI. Looking at the code, it obtaines these
  statistics from the "_dk_xfer"  kernel variable (after doing a nlist()):
  is this one HP-IB specific??
    I have been poking (eh, no, make that peeking) around the kernel  with
  adb,  checked  the  SCSI  driver sources, but still couldn't find a SCSI
  equivalent for this variable.  How do I obtain SCSI disk tranfer rates??
  Is  there a more sophisticated way to do this, instead of just nlist-ing
  some kernel variables?



		thanks for your time,
						--[ Edwin ]--
-- 
Edwin Kremer, systems and network administrator.  [NIC-Whois handle: EHK3]
     Department of Computer Science,  Utrecht University,  The Netherlands
     Email: edwin@cs.ruu.nl  | UUCP to: ...!uunet!mcsun!hp4nl!ruuinf!edwin