Page Fault Monitor Main Topic

Page Fault Monitor Syntax


One Steppfmon [-n] [-l] [-c] [-h] [-p pid] [-d] [-k] [-K] application-command-line [-?]

Where:

-n
does not display running faults, just logs to Pfmon.log.
-l
logs faults to Pfmon.log.
-c
shows only code faults.
-h
shows only hard faults.
-p pid
attaches to existing process ID (pid).
-d
outputs the following tab-delimited information:
-k
shows kernel-mode page faults and user-mode page faults.
-K
shows kernel-mode page faults instead of user-mode page faults.
application-command-line
the command line of the application to monitor. Do not specify AppCommandLine if you are using -p pid.
When you terminate the application specified by AppCommandLine, Page Fault Monitor prints a summary of the faults that occurred while executing the application. For example, execute the following command:
pfmon wperf

The summary printed when you terminate WPERF will look something like this:

wperf.dbg Caused     44 faults had     5 Soft   24 Hard faulted VA's
ntdll.dbg Caused     99 faults had    63 Soft    4 Hard faulted VA's
kernel32.dbg Caused  46 faults had    29 Soft    4 Hard faulted VA's
gdi32.dbg Caused     17 faults had     9 Soft    3 Hard faulted VA's
user32.dbg Caused    29 faults had    21 Soft    6 Hard faulted VA's
advapi32.dbg Caused   7 faults had     2 Soft    8 Hard faulted VA's
rpcrt4.dbg Caused     4 faults had     1 Soft    3 Hard faulted VA's

Total Faults 246 (KM 135 UM 246 Soft 164, Hard 82, Code 123, Data 123)

-?
displays a usage screen.