SUMMARY: Location of getrusage(3C)

From: Kevin Warren (warrenkb@aom.bt.co.uk)
Date: Mon Jun 16 1997 - 03:44:22 CDT


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.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:56 CDT