パフォーマンス ログの再記録ユーティリティ
relog
- C:\Windows\system32\relog.exe /?
Output:
Microsoft R Relog.exe (10.0.19041.1741)
Relog は、サンプリング レートの変更、ファイル形式の変更、またはその両方によっ
て、既存のパフォーマンス ログのデータから新しいパフォーマンス ログを作成します
。Windows NT 4.0 圧縮ログを含むすべてのパフォーマンス ログの形式はサポートされ
ます。
使い方:
C:\Windows\system32\relog.exe <ファイル名 [ファイル名 ...]>
[オプション]
パラメーター:
<ファイル名 [ファイル名 ...]> ログを再記録するためのパフォーマンス ファイル
です。
オプション:
-? 状況に応じたヘルプを表示します。
-a 出力を既存のバイナリ ファイルに追加します。
-c <パス [パス ...]> 入力ログからフィルターしようとするカウンターで
す。
-cf <ファイル名> 入力ログからフィルターするパフォーマンス カウ
ンターを一覧表示したファイルです。既定値は、元
のログ ファイルのすべてのカウンターです。
-f <CSV|TSV|BIN|SQL> 出力ファイルの形式です。
-t <値> n 番目ごとのレコードを出力ファイルに書き込みま
す。既定値は、すべてのレコードです。
-o 出力ファイルのパスまたは SQL データベースです。
-b <yyyy/MM/dd H:mm:ss[午前|午後]> 出力ファイルに最初のレコードを書き込む
開始時刻です。
-e <yyyy/MM/dd H:mm:ss[午前|午後]> 出力ファイルに最後のレコードを書き込む
終了時刻です。
-config <ファイル名> コマンド オプションが記述されている設定ファイ
ルです。
-q 入力ファイルのパフォーマンス カウンターの一覧
を出力します。
-y すべての質問に対して確認を求めずに、"はい" で
応答します。
例:
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
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:50:33 |
| LastWrite Time | 2022/07/08 08:50:33 |
| ProductVersion | 10.0.19041.1889 |
| FileVersion | 10.0.19041.1889 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | f445286ecb5a74aaf2c103d05879f1c1 |
| SHA1 | bb418a8c485d43039c8ffcaaadf710055b6f8d55 |
| SHA224 | eb871f489a52dd3b0fa4dddf7ae1930497df75defc8d7def9955311c |
| SHA256 | d892d5a3bf4727e4f6fbe9e6c9bd25fb4011534e762fe463e666b68658c01c1e |
| SHA384 | b5fa56b5176eaf6f23f6735f0294c8268127890de607116eff554fcd6205dab588e6910a9102554918a1aa2eef582929 |
| SHA512 | 1a88916cfa090735c489d9c0ff88a11d501a39b2c5eaa50337db19349d167f2ed5bef9d54d05104ae7ac9da206708735644e783b71d98d24a5da8c0d2213df51 |