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 по дате отправления: