pmap grep zero fail to load vm_peak

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: amit(dot)1995sharma(at)gmail(dot)com
Subject: pmap grep zero fail to load vm_peak
Date: 2021-10-18 10:17:14
Message-ID: 163455223489.684.4235881695963234426@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/kernel-resources.html
Description:

pmap 4170 | awk '/rw-s/ && /zero/ {print $2}'

is not working
if I Do
pmap 4170 | awk '/rw-s/ && /zero/ {print $2}'
I get
00002aaaaac00000 1099776K rw-s- anon_hugepage (deleted)
00007f4fb934f000 16K rw-s- PostgreSQL.788243545
00007f4fb9353000 4K rw-s- [ shmid=0x11 ]

What is zero is not coming instead anon_hugepage is coming
Can you please provide me a Command that that I can use with can work with
diff compute
4 GB
8 GB
16 GB
32 GB

Browse pgsql-docs by date

  From Date Subject
Next Message Euler Taveira 2021-10-18 18:12:34 Re: vacuumdb --analyze-in-stages
Previous Message Drew DeVault 2021-10-18 09:17:20 [PATCH] doc/queries.sgml: add missing comma