text
stringlengths
0
4.23k
-rts
Specifies to add the report raw timestamp in the event trace header. Can only be used with -o. It's not supported with -report or -summary.
-tmf <filename>
Specifies which Trace Message Format definition file to use.
-tp <value>
Specifies the TMF file search path. Multiple paths may be used, separated by a semicolon (;).
-i <value>
Specifies the provider image path. The matching PDB will be located in the Symbol Server. Multiple paths can be used, separated by a semicolon (;).
-pdb <value>
Specifies the symbol server path. Multiple paths can be used, separated by a semicolon (;).
-gmt
Specifies to convert WPP payload timestamps to Greenwich Mean Time.
-rl <value>
Specifies the System Report Level from 1 to 5. Default is 1.
-summary [filename]
Specifies to create a summary report text file. The filename, if not specified, is summary.txt.
-o [filename]
Specifies to create a text output file. The filename, if not specified, is dumpfile.xml.
-report [filename]
Specifies to create a text output report file. The filename, if not specified, is workload.xml.
-lr
Specifies to be less restrictive. This uses best efforts for events that don't match the events schema.
-export [filename]
Specifies to create an Event Schema export file. The filename, if not specified, is schema.man.
[-l] <value [value […]]>
Specifies the Event Trace log file to process.
-rt <session_name [session_name […]]>
Specifies the Real-time Event Trace Session data sources.
-?
Displays help at the command prompt.
<filename>
<XML | HTML>
<CSV | EVTX | XML>
<filename>
<filename>
<filename>
<value>
<value>
<value>
<value>
<value [value […]]>
<session_name [session_name […]]>
Examples
To create a report based on the two event logs logfile1.etl and logfile2.etl, and to create the dump file logdump.xml in XML format, type:
tracerpt logfile1.etl logfile2.etl -o logdump.xml -of XML
To create a report based on the event log logfile.etl, to create the dump file logdmp.xml in XML format, to use best efforts to identify events not in the schema, and to produce a summary report file logdump.txt and a report file, logrpt.xml, type:
tracerpt logfile.etl -o logdmp.xml -of XML -lr -summary logdmp.txt -report logrpt.xml
To use the two event logs logfile1.etl and logfile2.etl to produce a dump file, and to report file with the default filenames, type:
tracerpt logfile1.etl logfile2.etl -o -report
To use the event log logfile.etl and the performance log counterfile.blg to produce the report file logrpt.xml and the Microsoft-specific XML schema file schema.xml, type:
tracerpt logfile.etl counterfile.blg -report logrpt.xml -df schema.xml
To read the real-time Event Trace Session NT Kernel Logger and to produce the dump file logfile.csv in CSV format, type:
tracerpt -rt NT Kernel Logger -o logfile.csv -of CSV
tracert
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
This diagnostic tool determines the path taken to a destination by sending Internet Control Message Protocol (ICMP) echo Request or ICMPv6 messages to the destination with incrementally increasing time to live (TTL) field values. Each router along the path is required to decrement the TTL in an IP packet by at least 1 before forwarding it. Effectively, the TTL is a maximum link counter. When the TTL on a packet reaches 0, the router is expected to return an ICMP time Exceeded message to the source computer.
This command determines the path by sending the first echo Request message with a TTL of 1 and incrementing the TTL by 1 on each subsequent transmission until the target responds or the maximum number of hops is reached. The maximum number of hops is 30 by default and can be specified using the /h parameter.
The path is determined by examining the ICMP time Exceeded messages returned by intermediate routers and the echo Reply message returned by the destination. However, some routers do not return time Exceeded messages for packets with expired TTL values and are invisible to the tracert command. In this case, a row of asterisks (*) is displayed for that hop. The path displayed is the list of near/side router interfaces of the routers in the path between a source host and a destination. The near/side interface is the interface of the router that is closest to the sending host in the path.
*
Important
This command is available only if the Internet Protocol (TCP/IP) protocol is installed as a component in the properties of a network adapter in Network Connections.
To trace a path and provide network latency and packet loss for each router and link in the path, use the pathping command command.
Syntax
tracert [/d] [/h <maximumhops>] [/j <hostlist>] [/w <timeout>] [/R] [/S <srcaddr>] [/4][/6] <targetname>
Parameters
Parameter