Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!lance!ptcburp!rick From: rick@ptcburp.ptcbu.oz.au (Rick Stevenson) Newsgroups: comp.unix.questions Subject: Re: getrusage in SysVR4 Message-ID: <1991May30.041144.12243@ptcburp.ptcbu.oz.au> Date: 30 May 91 04:11:44 GMT References: <1991May30.122122@anusf.anu.edu.au> Organization: Pyramid Technology Corporation Lines: 17 mbl900@anusf.anu.edu.au (Mathew BM LIM) writes: >Is the getrusage routine implemented in SysVR4? It does not seem to show >up in any of my documentation and not having acces to a SysVR4 system, I >cannot tell for sure. Sort of. There is a getrusage() in the Berkeley compatibility library, but it is a wrapper around times(2) and only returns correct information for the fields ru_utime and ru_stime. The other fields are present in struct rusage but never get set. Rick. -- Rick Stevenson Pyramid Technology Corporation +61 75 522475 FAX Research Park, Bond University +61 75 950249 VOICE Gold Coast, Q 4229, AUSTRALIA rick@ptcburp.pyramid.com.au