logman start and logman stoplogman start and logman stop
Gilt für: Windows Server (halbjährlicher Kanal), Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012Applies to: Windows Server (Semi-Annual Channel), Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Der logman Start -Befehl startet einen Datensammler und legt die Startzeit auf Manual fest.The logman start command starts a data collector and sets the begin time to manual. Der " logman Stopp "-Befehl hält einen Datensammler Satz an und legt die Endzeit auf "Manual" fest.The logman stop command stops a Data Collector Set and sets the end time to manual.
SyntaxSyntax
logman start <[-n] <name>> [options]
logman stop <[-n] <name>> [options]
ParameterParameters
ParameterParameter | BESCHREIBUNGDescription |
---|---|
-s <computer name> -s <computer name> |
Führen Sie den Befehl auf dem angegebenen Remote Computer aus.Perform the command on the specified remote computer. |
-config <value> -config <value> |
Gibt die Einstellungsdatei an, die Befehlsoptionen enthält.Specifies the settings file containing command options. |
[-n] <name> [-n] <name> |
Gibt den Namen des Zielobjekts an.Specifies the name of the target object. |
-ETS-ets | Sendet Befehle direkt an Ereignis Ablauf Verfolgungs Sitzungen, ohne zu speichern oder zu planen.Sends commands to Event Trace Sessions directly, without saving or scheduling. |
-AS-as | Führt den angeforderten Vorgang asynchron aus.Performs the requested operation asynchronously. |
-?-? | Zeigt die kontextbezogene Hilfe an.Displays context-sensitive help. |
BeispieleExamples
Geben Sie zum Starten des Daten Sammlers perf_logauf dem Remote Computer server_1Folgendes ein:To start the data collector perf_log, on the remote computer server_1, type:
logman start perf_log -s server_1