May 21, 2008
1:24 am | Last updated: February 1, 2009 at: 2:56 am
Two Minute Drill: RELOG.EXE
Following on from last Two Minute Drill: LOGMAN.EXE, today's topic is the RELOG.EXE utility. RELOG.EXE creates new performance logs from data in existing performance logs by changing the sampling rate and / or converting the file format. RELOG.EXE is not a new tool - it is however one of those tools that most administrators are not aware of. Although RELOG.EXE is a fairly simple tool, it is incredibly powerful. Let's look at the built-in help file for RELOG.EXE:
RELOG <filename [filename ...]> [options]
Parameters:
<filename [filename ...]> Performance file to relog.
| Option | Description |
| -? | Display context sensitive help |
| -a | Append output to the existing binary file |
| -c <path> | Counters to filter from the input log |
| -cf <filename> | File listing performance counters from the input log. The default is all counters in the original log file |
| -f <CSV | TSV | BIN | SQL> | Output file format |
| -t <value> | Only write every nth record into the output file |
| -o | Output file path or SQL database |
| -b <M/d/yyyy h:mm:ss [AM | PM> | Begin time for the first record to write into the output file |
| -e <M/d/yyyy h:mm:ss [AM | PM> | End time for the last record to write into the output file |
| -config <filename> | Settings file containing command options |
| -q | List performance counters in the input file |
| -y | Answer yes to all questions without prompting |
Loading

Leave a comment »