共用方式為


logman query

 

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

Query data collector or data collector set properties.

For examples of how this command can be used, see Examples.

Syntax

logman query [providers|"Data Collector Set name"] [options]

Parameters

Parameter

Description

/?

Displays context-sensitive help.

-s <computer name>

Perform the command on the specified remote computer.

-config <value>

Specifies the settings file containing command options.

[-n] <name>

Name of the target object.

-ets

Send commands to Event Trace Sessions directly without saving or scheduling.

Examples

The following command lists all Data Collector Sets configured on the target system.

logman query

The following command lists the data collectors contained in the Data Collector Set named perf_log.

logman query "perf_log"

The following command lists all available providers of data collectors on the target system.

logman query providers

Additional references

Logman