The TraceView command-line interface uses the following command-line syntax:
traceview [action] [options] | [-h | -help | -?]
The possible actions for the TraceView command-line interface are broken down into three categories:
The Control actions are used to control active trace loggers. The following table describes the control interface options:
Control Actions: |
|
-start [LoggerName] |
Starts up the [LoggerName] trace session |
-stop [LoggerName] |
Stops the [LoggerName] trace session |
-update [LoggerName] |
Updates the [LoggerName] trace session |
-enable [LoggerName] |
Enables providers for the [LoggerName] session |
-disable [LoggerName] |
Disables providers for the [LoggerName] session |
-flush [LoggerName] |
Flushes the [LoggerName] active buffers |
-enumguid |
Enumerate Registered Trace Guids |
-q [LoggerName] |
Query status of [LoggerName] trace session |
-l |
List all trace sessions |
-x |
Stops all active trace sessions |
|
|
Control Options: |
|
-b <n> |
Sets buffer size to <n> Kbytes |
-min <n> |
Sets minimum buffers |
-max <n> |
Sets maximum buffers |
-f <name> |
Log to file <name> |
-append |
Append to file |
-prealloc |
Pre-allocate |
-seq <n> |
Sequential logfile of up to n Mbytes |
-cir <n> |
Circular logfile of n Mbytes |
-newfile <n> |
Log to a new file after every n Mbytes |
-ft <n> |
Set flush timer to n seconds |
-paged |
Use pageable memory for buffers |
-guid <file> |
Start tracing for providers in file |
-rt |
Enable tracing in real time mode |
-kd |
Enable tracing in kernel debugger |
-age <n> |
Modify aging decay time to n minutes |
-level <n> |
Enable Level passed to the providers |
-flag <n> |
Enable Flags passed to the providers |
-eflag <n> <flag...> |
Enable flags (several) to providers |
-pdb |
Start tracing for related provider |
|
© Microsoft Corporation 2002