From: Tom Lane <tgl@sss.pgh.pa.us>
To: sanjeev_adwal@yahoo.co.in
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Correction to documentation at https://www.postgresql.org/docs/12/kernel-resources.html
Date: Tue, 05 Oct 2021 10:48:42 -0400
Message-ID: <4070814.1633445322@sss.pgh.pa.us> (raw)
In-Reply-To: <163342695612.12514.13980479819790496744@wrigleys.postgresql.org>
References: <163342695612.12514.13980479819790496744@wrigleys.postgresql.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: tgl@sss.pgh.pa.us, sanjeev_adwal@yahoo.co.in, pgsql-docs@lists.postgresql.org
Subject: Re: Correction to documentation at https://www.postgresql.org/docs/12/kernel-resources.html
In-Reply-To: <4070814.1633445322@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox