Attaches to an existing process ID (PID). When
the command window is closed, the attached process is terminated.
Do not use the /p parameter when specifying
AppCommandName.
AppCommandLine
Specifies the command line of the application to monitor. If
the application is not located in the current directory, you might
need to enter the path along with the application name. Do not
specify AppCommandName if you are using /ppid.
When you terminate the application specified by
AppCommandLine, Pfmon displays a summary of the faults that
occurred while executing the application.
/n
Writes faults as they occur in the running program to
Pfmon.log, but does not display those faults in the command
window.
/l
Writes faults as they occur in the running program to
Pfmon.log.
/c
Displays only soft page faults and summary information.
/h
Displays only hard page faults and summary information.
/k
Displays page faults that occur in both the kernel mode and the
user mode.
/K
Displays only those page faults that occur in the kernel
mode.
/d
Displays the following tab-delimited information:
Page fault number
Page fault type—hard or soft
Pprogram counter's module
Symbol for program counter
Decimal value of program counter
Decimal value of program counter of the virtual address (VA)
accessed