Description of the Windows XP Logman.exe, Relog.exe, and Typeperf.exe Tools

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article was previously published under Q303133
This article has been archived. It is offered "as is" and will no longer be updated.
SUMMARY
This article contains a description of the Windows XP Logman.exe, Relog.exe, and Typeperf.exe command-line tools you can use in conjunction with, or separate from, System Monitor and the Performance Logs and Alerts snap-in.

All of these tools are included in all versions of Microsoft Windows XP (excluding Windows XP Home Edition), and you can run these tools from a command prompt.
MORE INFORMATION

Logman.exe

You can use the Logman.exe tool to:
  • Remotely start and stop log file data collections from a central location by specifying the remote computer name.
  • Configure a data collection on one computer and then copy that configuration to multiple computers from a central location.
  • Query currently-running logs and traces.

Example

If Sample_Log is the name of an existing performance log on the local computer, the logman start Sample_Log command starts the log.

Relog.exe

You can use the Relog.exe tool to:
  • Convert a log from one type to another, such as a Microsoft Windows NT 4.0 log to a Windows XP log, or a binary log file (.blg) to a comma-separated values (.csv) file.
  • Resample a log file, and then create a new log file that is based on specified counters, a time period, or a sampling interval.

Example

To convert a Windows 2000 log file that is named Win2k_log to a .csv log file that is named Win2k_log.csv, you would use the relog Win2k_log.blg -f CSV -o Win2k_log.csv command.

Typeperf.exe

You can use the Typeperf.exe tool to:
  • Write performance data to the command window or to a supported log file format.
  • Display all of the counters that are currently available on a particular local or remote computer.

Example

To output the Memory counter, Available Bytes, from a remote computer that is named "XPPRO", every 5 seconds, you would use the typeperf "Memory\Available Bytes" -s XPPRO -si 00:05 command.

For more information about these tools, see the online Help, or run the command with the /? switch.
sysmon perfmon
Properties

Article ID: 303133 - Last Review: 12/06/2015 03:49:01 - Revision: 2.4

Microsoft Windows XP Professional, Microsoft Windows XP Tablet PC Edition, Microsoft Windows XP Professional x64 Edition

  • kbnosurvey kbarchive kbenv kbinfo KB303133
Feedback