Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!adm!xadmx!stanonik@nprdc.navy.mil From: stanonik@nprdc.navy.mil (Ron Stanonik) Newsgroups: comp.unix.wizards Subject: tuning tools Message-ID: <20683@adm.BRL.MIL> Date: 22 Aug 89 19:09:59 GMT Sender: news@adm.BRL.MIL Lines: 15 Are there any tools for monitoring data and stack size during execution? In particular, is there any way to trace virtual (rather than resident) data and stack sizes. I gather that resident sizes (eg, returned by 4.3bsd getrusage) are affected by load (and maybe priority/nice?); consequently, resident sizes seem less repeatable/objective for tuning (finding which functions grow huge stack spaces or alloc huge data spaces). ps grovels around in the kernel to return virtual sizes (SIZE=data+stack). Maybe that's the only solution? Thanks, Ron Stanonik stanonik@nprdc.navy.mil