[comp.unix.questions] Resource usage

rbunten@micrognosis.co.uk (Rob Bunten) (01/15/91)

Is there a system call to find the virtual memory usage of a process ?

We use SunOS 4.1 on SPARC and 4.0.2 on 386i, but are interested in generic
solutions as we also use DEC Ultrix and IBM AIX.
   
We've looked at getrusage(2) and pstat(8) but these only seem to give
resident set sizes.
    
Also, is there a way of finding the current resident set size, or is this
what ru_ixrss or ru_isrss are intended for ?