mjb%hoosier.uucp@utah-gr.UUCP (Mark J. Bradakis) (07/10/87)
Has anyone gotten versions of vmstat or iostat running under HP-UX? We
currently are experiencing problems with running out of page or swap space on
HP-UX 5.22, 320s and 350s, with no idea of what is really happening. Symptoms
are that you can run a large program, like CL, once. If you exit the process,
and later try to start another the system claims "not enough space". I'd like
to look into this problem, but I have no real idea where to start. A tool
along the line of vmstat might prove useful to start tracking down stuff like
this.
Any help?
Thanks,
mjb.
---------------
mjb%hoosier@cs.utah.edu
"I take this medicine as prescribed, I'll sleep when I'm dead.
It don't matter if I get a little tired, I'll sleep when I'm dead."
Warren "Excitable" Zevonrml@hpfcdc.HP.COM (Bob Lenk) (07/18/87)
> Has anyone gotten versions of vmstat or iostat running under HP-UX?
If you have the 4.2BSD source, there shouldn't be much problem getting
them to run on the series 300. The only problem I know of is that they
try to access the kernel variable "hz" via nlist. Since we do not use
that kernel variable, nlist returns a zero, and the programs die with
a SIGFPE. You can use HZ from <sys/param.h> instead to fix that.
As for your specific problem, it's possible that you are suffering from
fragmentation of your swap space. You may be able to address this by
configuring a kernel with different values for DMMIN and DMMAX, and/or
by providng more swap space. If your discs were built from the default
entries in a pre-5.2 /etc/disktab they may have a poorly sized swap
area (10*1000*1024 instead of 10*1024*1024 bytes), causing part of
the swap area to be wasted).
Bob Lenk
{ihnp4, hplabs}!hpfcla!rml