-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfaultstat.8
102 lines (97 loc) · 2.71 KB
/
faultstat.8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH FAULTSTAT 8 "January 12, 2024"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.nr SZ ((\n[.l] - \n[.i]) / 1n - 31)
.SH NAME
faultstat \- report page faults
.br
.SH SYNOPSIS
.B faultstat
[options]
.RI [ delay " [" count ]]
.br
.SH DESCRIPTION
faultstat reports the major and minor page fault activity of processes.
If a delay and count are not specified, a snapshot of the current page fault
activity is displayed.
If a delay in seconds is specified, faultstat will periodically show any
per-process page fault changes. This will run indefinitely until a SIGINT
is caught. Specifying count will repeat the periodic output count number
of times.
.SH OPTIONS
faultstat options are as follow:
.TP
.B \-a
show page fault size changes with up arrow \[u2191] when they increment
.TP
.B \-c
get command information from processes comm field
.TP
.B \-d
strip directory basename off command information
.TP
.B \-h
show help
.TP
.B \-l
show long (full) command information
.TP
.B \-p proclist
specify a comma separated list of processes to monitor; the
process list may contain one or more PIDs or process names
.TP
.B \-s
show short command information
.TP
.B \-t
top mode, show top page faulting processes by current page fault changes
.TP
.B \-T
top mode, show top page faulting processes by total page faults
.PP
Hot keys in top mode:
.TS
lB lBw(\n[SZ]n)
l l.
Key Operation
a Toggle page fault change arrow on or off
s T{
Switch sorting order: Major and Minor, Major, Minor, +Major and +Minor, +Major,
+Minor, Swap
T}
t T{
Toggle between total page fault count and page fault changes
T}
q or Esc Quit
.TE
.SH SEE ALSO
.BR cpustat (8),
.BR eventstat (8),
.BR forkstat (8),
.BR smemstat (8),
.BR top (1),
.BR vmstat (8)
.SH AUTHOR
faultstat was written by Colin Ian King <[email protected]>
.PP
This manual page was written by Colin Ian King <[email protected]>,
for the Ubuntu project (but may be used by others).
.SH COPYRIGHT
Copyright \(co 2014-2021 Canonical Ltd, \(co 2021-2025 Colin Ian King.
.br
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.