I've got the code done for SunOS, Solaris and Linux but having a problem trying to find the best way to get swap information from HP-UX.  I'm using 'top' in linux, pstat in SunOS and Solaris.  The problem is that HP-UX's 'top' doesn't report swap usage, but 'virtual memory' insted.  I'm looking at using swapinfo, but don't like how it reports the information.  vmstat is also out becuase it reports virtual memory also.  What I want is 'swap' only. 

Any ideas?