Windows 2003 和xp提供了性能监视器的几个命令行工具,他们是logman utility (logman.exe),relog utility (relog.exe) 和typeperf utility (typeperf.exe)。
使用relog可以把一个log文件转换成另一种格式。例如下面的命令转换成csv格式: relog logfile.blg -f csv -o logfile.csv 具体可参见: http://blogs.technet.com/richard_macdonald/archive/2008/04/08/3032386.aspx 这里有一个好用的工具:Performance Analysis of Logs (PAL) Tool
http://pal.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28708
PAL v1.3.5