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.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck@Yahoo.com #