logman start and logman stop
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
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> |
Perform the command on the specified remote computer. |
-config <value> |
Specifies the settings file containing command options. |
[-n] <name> |
Specifies the name of the target object. |
-ets | Sends commands to Event Trace Sessions directly, without saving or scheduling. |
-as | Performs the requested operation asynchronously. |
-? | Displays context-sensitive help. |
Examples
To start the data collector perf_log, on the remote computer server_1, type:
logman start perf_log -s server_1
Related links
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για