共用方式為


Logman

 

Applies To: Windows Vista, Windows Server 2008, Windows Server 2012, Windows 8

Logman creates and manages Event Trace Session and Performance logs and supports many functions of Performance Monitor from the command line.

Syntax

logman [create | query | start | stop | delete| update | import | export | /?] [options]

Actions

Action

Description

logman create

Create a counter, trace, configuration data collector, or API.

logman query

Query data collector properties.

logman start - stop

Start or stop data collection.

logman delete

Delete an existing data collector.

logman update

Update the properties of an existing data collector.

logman import - export

Import a data collector set from an XML file or export a data collector set to an XML file.