aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pidstat.md
blob: c17a2e6bf400f1c05768db59fe1a44df0318f1f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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
```