次の方法で共有


logman start および logman stop

The logman start command starts a data collector and sets the begin time to manual. The logman stop command stops a Data Collector Set and sets the end time to manual.

Syntax

logman start <[-n] <name>> [options]
logman stop <[-n] <name>> [options]

Parameters

Parameter Description
-s <computer name> 指定したリモート コンピューター上でコマンドを実行します。
-config(設定) <value> コマンド オプションを含む設定ファイルを指定します。
[-n] <name> ターゲット オブジェクトの名前を指定します。
-ets 保存またはスケジュール設定せずに、直接、イベント トレース セッションにコマンドを送信します。
-as 要求された操作を非同期的に実行します。
-? 状況依存のヘルプを表示します。

Examples

To start the data collector perf_log, on the remote computer server_1, type:

logman start perf_log -s server_1