aboutsummaryrefslogtreecommitdiffhomepage
path: root/print.html
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2022-09-30 11:10:49 +0000
committerjohannst <johannst@users.noreply.github.com>2022-09-30 11:10:49 +0000
commitccbbcafbc7337c8d7a785b9034716618dce36e4d (patch)
treea23db6edf71d78b7dce816a00b3e69b0af793ebd /print.html
parentfa7eb205d5f18b72c1e04a4229d171a15040bdea (diff)
downloadnotes-ccbbcafbc7337c8d7a785b9034716618dce36e4d.tar.gz
notes-ccbbcafbc7337c8d7a785b9034716618dce36e4d.zip
deploy: 6f322df0a549ed9e8b0421f86a9aa985add9b970
Diffstat (limited to 'print.html')
-rw-r--r--print.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/print.html b/print.html
index 8a655d5..5f6b2fa 100644
--- a/print.html
+++ b/print.html
@@ -2221,9 +2221,12 @@ major_pagefault: Happens when the page needed is NOT in memory, the kernel
<pre><code class="language-markdown">gdb -p $(pgrep -n -u $USER zsh)
</code></pre>
<div style="break-before: page; page-break-before: always;"></div><h1 id="pmap1"><a class="header" href="#pmap1">pmap(1)</a></h1>
-<pre><code class="language-markdown">pmap &lt;pid&gt;
+<pre><code class="language-markdown">pmap [opts] &lt;pid&gt;
Dump virtual memory map of process.
Compared to /proc/&lt;pid&gt;/maps it shows the size of the mappings.
+opts:
+ -p show full path in the mapping
+ -x show details (eg RSS usage of each segment)
</code></pre>
<div style="break-before: page; page-break-before: always;"></div><h1 id="pstack1"><a class="header" href="#pstack1">pstack(1)</a></h1>
<pre><code class="language-markdown">pstack &lt;pid&gt;