diff options
author | johannst <johannes.stoelp@gmail.com> | 2020-03-14 14:10:41 +0100 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2020-03-14 14:10:41 +0100 |
commit | 3099cd5efceebcbbc5ab1202c2b183ccd4453a65 (patch) | |
tree | 966e24e1226e8e3b2f279cd651c13b6776537a9a /src/pidstat.md | |
parent | c5dfa4b329e9db6c68a6f5da77b7150f674206ef (diff) | |
download | notes-3099cd5efceebcbbc5ab1202c2b183ccd4453a65.tar.gz notes-3099cd5efceebcbbc5ab1202c2b183ccd4453a65.zip |
split debug.txt into mdbook chapters
Diffstat (limited to 'src/pidstat.md')
-rw-r--r-- | src/pidstat.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pidstat.md b/src/pidstat.md new file mode 100644 index 0000000..c17a2e6 --- /dev/null +++ b/src/pidstat.md @@ -0,0 +1,13 @@ +# pidstat(1) + +Trace minor/major page faults. +```markdown +pidstat -r -p <pid> [interval] + minor_pagefault: happens when the page needed is already in memory but not + allocated to the faulting process, in that case the kernel + only has to create a new page-table entry pointing to the + shared physical page + major_pagefault: happends when the page needed is NOT in memory, the kernel + has to create a new page-table entry and populate the + physical page +``` |