Export (0) Print
Expand All
Dos
Mem
Msg
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

To start or stop a counter log, trace log, or alert manually

Using the Windows interface 

  1. Open Performance

  2. Double-click Performance Logs and Alerts, and click Counter Logs, Trace Logs, or Alerts.

  3. In the details pane, right-click the name of the log or alert you want to start or stop, and click Start to begin the logging or alert activity you defined, or click Stop to terminate the activity.

Note

  • To open Performance, click Start, click Control Panel, click Performance and Maintenance, click Administrative Tools, and then double-click Performance

  • There may be a slight delay before the log or alert starts or stops, indicated when the icon changes color (from green for started to red for stopped, and vice versa).

Using a command line 

  1. Open Command Prompt

  2. Type:

    logman start collection_name

    or

    logman stop collection_name

Value

Description

start collection_name

Starts the data collection query collection_name. Use this option to change from scheduled collections to manual ones. Use the update parameter in the command line with begin-time (-b), end-time (-e), or repeat-time (-rt) to reschedule collections.

stop collection_name

Stops the data collection query collection_name. Use this option to change from scheduled collections to manual ones. Use the update parameter in the command line with begin-time (-b), end-time (-e), or repeat-time (-rt) to reschedule collections.

For example, to stop the collection query named perf_log, type:

logman stop perf_log

Note

  • To open command prompt, click Start, point to All Programs, point to Accessories, and then click Command Prompt

  • To view the complete syntax for this command, at a command prompt, type:

    logman /?

Related Topics

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.