Re: Correction to documentation at https://www.postgresql.org/docs/12/kernel-resources.html

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Correction to documentation at https://www.postgresql.org/docs/12/kernel-resources.html
Дата
Msg-id 4070814.1633445322@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Correction to documentation at https://www.postgresql.org/docs/12/kernel-resources.html  (PG Doc comments form <noreply@postgresql.org>)
Ответы Re: Correction to documentation at https://www.postgresql.org/docs/12/kernel-resources.html  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-docs
PG Doc comments form <noreply@postgresql.org> writes:
> On https://www.postgresql.org/docs/12/kernel-resources.html, the command to
> calculate memory allocated to postgres is not correct. Following is the
> command as shown in 18.4.5. Linux Huge Pages.
> pmap 4170 | awk '/rw-s/ && /zero/ {print $2}', this command does not return
> any results with correct pid. Probably /zero/ needs to be updated with
> /anon_hugepage/

The example seems to work as-given for me (testing on a RHEL8 system).
It's of course not guaranteed to work on every flavor of Linux.

            regards, tom lane



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

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: Correction to documentation at https://www.postgresql.org/docs/12/kernel-resources.html
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Correction to documentation at https://www.postgresql.org/docs/12/kernel-resources.html