Re: Performance features the 4th - Mailing list pgsql-hackers

From Kurt Roeckx
Subject Re: Performance features the 4th
Date
Msg-id 20031105211611.GB21364@ping.be
Whole thread Raw
In response to Re: Performance features the 4th  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-hackers
On Wed, Nov 05, 2003 at 03:49:54PM -0500, Jan Wieck wrote:
> Andrew Dunstan wrote:
> 
> >Jan Wieck wrote:
> >
> >>
> >>How portable is getrusage()? Could the postmaster issue that 
> >>frequently for RUSAGE_CHILDREN and leave the result somewhere in the 
> >>shared memory for whoever is concerned?
> >>
> >SVr4, BSD4.3, SUS2 and POSIX1003.1, I believe.
> >
> >I also believe there is a M$ dll available that gives that functionality 
> >(psapi.dll).
> 
> Remains the question when it is updated, the manpage doesn't tell. If 
> the RUSAGE_CHILDREN information is updated only when the child exits, 
> each backend has to do it.

"If the value of the who argument is RUSAGE_CHILDREN,
information shall be returned about resources used by the
terminated and waited-for children of the current process"


Kurt



pgsql-hackers by date:

Previous
From: Kurt Roeckx
Date:
Subject: Re: \xDD patch for 7.5devel
Next
From: "Marc G. Fournier"
Date:
Subject: Re: Schema boggle...