Performance Relogging Utility
relog
- C:\Windows\system32\relog.exe /?
Output:
Microsoft r Relog.exe (10.0.19041.1741)
Relog creates new performance logs from data in existing performance logs by
changing the sampling rate and/or converting the file format. Supports all
performance log formats, including Windows NT 4.0 compressed logs.
Usage:
C:\Windows\system32\relog.exe <filename [filename ...]>
[options]
Parameters:
<filename [filename ...]> Performance file to relog.
Options:
-? Displays context sensitive help.
-a Append output to the existing binary file.
-c <path [path ...]> Counters to filter from the input log.
-cf <filename> File listing performance counters to filter
from the input log. 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. Default is to write every record.
-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.
Examples:
relog logfile.csv -c "\Processor(_Total)\% Processor Time" -o logfile.blg
relog logfile.blg -cf counters.txt -f bin
relog logfile.blg -f csv -o logfile.csv -t 2
relog logfile.blg -q -o counters.txt
Return Code: 0
C:\Windows\system32\relog.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 53760bytes |
| Creation Time | 2022/07/08 08:48:55 |
| LastWrite Time | 2022/07/08 08:48:55 |
| ProductVersion | 10.0.19041.1 |
| FileVersion | 10.0.19041.1 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | f445286ecb5a74aaf2c103d05879f1c1 |
| SHA1 | bb418a8c485d43039c8ffcaaadf710055b6f8d55 |
| SHA224 | eb871f489a52dd3b0fa4dddf7ae1930497df75defc8d7def9955311c |
| SHA256 | d892d5a3bf4727e4f6fbe9e6c9bd25fb4011534e762fe463e666b68658c01c1e |
| SHA384 | b5fa56b5176eaf6f23f6735f0294c8268127890de607116eff554fcd6205dab588e6910a9102554918a1aa2eef582929 |
| SHA512 | 1a88916cfa090735c489d9c0ff88a11d501a39b2c5eaa50337db19349d167f2ed5bef9d54d05104ae7ac9da206708735644e783b71d98d24a5da8c0d2213df51 |