Re: PostgreSQL - Debian - Processes: postgres: writer process, etc.

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: PostgreSQL - Debian - Processes: postgres: writer process, etc.
Дата
Msg-id 20120214224942.GD32208@momjian.us
обсуждение исходный текст
Ответ на PostgreSQL - Debian - Processes: postgres: writer process, etc.  (Windybell <lmhelp1@orange.fr>)
Список pgsql-novice
On Wed, Feb 15, 2012 at 11:47:58AM +1300, Gavin Flower wrote:
> On 15/02/12 06:16, Bruce Momjian wrote:
>
>     On Mon, Jan 30, 2012 at 11:05:10AM -0500, Tom Lane wrote:
>
>                 What is weird to me is the "COMMAND" column as far as these four processes
>                 are concerned.
>                 In the "COMMAND "column I would expect a real command, not a description.
>                 Can you explain?
>
>         We intentionally change the command string reported by ps for each
>         postmaster child process, so that you can tell the various processes
>         apart.  If we did not, every postmaster child would show the exact
>         same command string as the postmaster itself was launched with.
>         (To get an idea of how useless that is, try looking at "top" sometime
>         --- on most systems I've worked with, it ignores the changed command
>         strings, so you can't tell what's what.)
>
>     I belive the 'c' command in modern versions of top toggles display of
>     the current command string.
>
>
> Yes, pressing 'c' when top is running gives a fuller description of the process
> command string, had done in Fedora for longer than I can remember.  So I would
> be surprised if any Linux distribution had not had it for several years.

What is also interesting is that it remembers your previous 'c' mode
when you restart top.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Using libpq 8.4 with PostgreSQL 9.1
Следующее
От: Gavin Flower
Дата:
Сообщение: Re: PostgreSQL - Debian - Processes: postgres: writer process, etc.