Re: Performance features the 4th

Поиск
Список
Период
Сортировка
От Kurt Roeckx
Тема Re: Performance features the 4th
Дата
Msg-id 20031105211611.GB21364@ping.be
обсуждение исходный текст
Ответ на Re: Performance features the 4th  (Jan Wieck <JanWieck@Yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: Kurt Roeckx
Дата:
Сообщение: Re: \xDD patch for 7.5devel
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Schema boggle...