SUMMARY: Location of getrusage(3C)

Kevin Warren (warrenkb@aom.bt.co.uk)
Mon, 16 Jun 1997 09:44:22 +0100

Thankyou for all your replies and my apologies for not stating that my
OS version is Solaris 2.4.

[Casper Dik]
For Solaris 2.4 the location is /usr/ucblib/libucb.so.

[Harvey Wamboldt]
For Solaris 2.5 the location is /usr/lib/libc.so.

Harvey also supplied a useful script which could be modified to locate
other functions:

#! /bin/csh
cd /usr/lib
foreach i (*.so *.a)
echo $i
nm $i | egrep getrusage
end

On my system 'nm' is found in /usr/ccs/bin, but Harvey tells me that it
may be in /usr/local/bin.

Kevin Sheehan informed me that 'ruseage' info can be supplied by gtime
which is the GNU version of time.