Re: Performance tips

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Performance tips
Дата
Msg-id 20020110170835.A31577@svana.org
обсуждение исходный текст
Ответ на Re: Performance tips  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Performance tips  ("Alaric B. Snell" <abs@frontwire.com>)
Re: Performance tips  (Coax <coax@shell1.cornernet.com>)
Список pgsql-general
On Wed, Jan 09, 2002 at 11:33:24PM -0600, Coax wrote:
> In Linux, vmstat's first line of output is always incorrect, as it pulls
> values from /proc/stat - and averages them over the timeperiod you
> specify.

LOL! If that's true, why does running it with no arguments produce one line
of output if it's going to be wrong? I'd count that as a form of bug.

Actually, the man page does discuss this. It says that the first time it
gives an average since boot, which is nice to know, but not very useful in
this case.

> Therefore, just running a single vmstat will do zilch for you.
>
> 'vmstat 1' will give you accurate numbers on the 2nd thru <infinite>
> reading, at 1 second intervals.

Well, I did mention that to him. Hopefully he'll send the results soon.

--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> Terrorists can only take my life. Only my government can take my freedom.

В списке pgsql-general по дате отправления:

Предыдущее
От: Andrew Perrin
Дата:
Сообщение: Re: Performance tips
Следующее
От: "Andy Samuel"
Дата:
Сообщение: Re: Performance tips