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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: sanjeev_adwal(at)yahoo(dot)co(dot)in
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Correction to documentation at https://www.postgresql.org/docs/12/kernel-resources.html
Date: 2021-10-05 14:48:42
Message-ID: 4070814.1633445322@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Thomas Munro 2021-10-05 23:26:04 Re: Correction to documentation at https://www.postgresql.org/docs/12/kernel-resources.html
Previous Message PG Doc comments form 2021-10-05 09:42:36 Correction to documentation at https://www.postgresql.org/docs/12/kernel-resources.html