Example 7: Stopping All Trace Sessions

The following command stops all trace sessions on the computer:

tracelog -x

In response, Tracelog lists each trace session running on the computer and asks if you want to stop the session. For example:

Do you want to stop the "My Trace" session (Y or N)?

To stop the session, type Y. Tracelog then lists the properties of the session along with the following message:

The "MyTrace" session has been stopped

Send comments about this topic to Microsoft