logmanlogman

适用于: Windows Server (半年通道) ,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

创建和管理事件跟踪会话和性能日志,并从命令行支持性能监视器的许多功能。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]

参数Parameters

参数Parameter 说明Description
logman createlogman create 创建计数器、跟踪、配置数据收集器或 API。Creates a counter, trace, configuration data collector, or API.
logman querylogman query 查询数据收集器属性。Queries data collector properties.
logman start | stoplogman start | stop 开始或停止数据收集。Starts or stops data collection.
logman deletelogman delete 删除现有的数据收集器。Deletes an existing data collector.
logman updatelogman update 更新现有数据收集器的属性。Updates the properties of an existing data collector.
logman import | exportlogman import | export 从 XML 文件导入数据收集器集,或将数据收集器集导出到 XML 文件。Imports a data collector set from an XML file or export a data collector set to an XML file.

其他参考Additional References