aboutsummaryrefslogtreecommitdiffhomepage
path: root/debug.txt
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2019-11-08 17:30:35 +0100
committerjohannst <johannes.stoelp@gmail.com>2019-11-08 17:30:35 +0100
commit2bb3f0d8d3bb45a4fec87d04e83b4fc7a6bd25cd (patch)
tree1b342776cbec30447f4303183a3842a679a873a0 /debug.txt
parent8e2332bfc68fb040a956226d36f1ef71c944ef82 (diff)
downloadnotes-2bb3f0d8d3bb45a4fec87d04e83b4fc7a6bd25cd.tar.gz
notes-2bb3f0d8d3bb45a4fec87d04e83b4fc7a6bd25cd.zip
added git my git cheatsheet
Diffstat (limited to 'debug.txt')
-rw-r--r--debug.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/debug.txt b/debug.txt
index 9579f77..e7f0da6 100644
--- a/debug.txt
+++ b/debug.txt
@@ -19,6 +19,12 @@ lsof +fg -p <pid>
# compared to /proc/<>/maps it shows the size of the mappings
pmap <pid>
+# trace minor/major page faults
+pidstat -r -p <pid> [interval]
+
+# statistics of process run
+/usr/bin/time -v <cmd>
+
# get supported events
perf list