73 lines
3.3 KiB
Plaintext
73 lines
3.3 KiB
Plaintext
/*****************************************************************************\
|
|
|
|
Author: Corey Morgan (coreym)
|
|
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
\*****************************************************************************/
|
|
|
|
#include "resource.h"
|
|
|
|
#include <windows.h>
|
|
#include <ntverp.h>
|
|
|
|
#define VER_FILETYPE VFT_APP
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
#define VER_FILEDESCRIPTION_STR "Performance Relogging Utility"
|
|
#define VER_INTERNALNAME_STR "Relog.exe"
|
|
#define VER_ORIGINALFILENAME_STR "Relog.exe"
|
|
|
|
#include "common.ver"
|
|
|
|
#include "varg.rc"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_PROGRAM_DESCRIPTION "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."
|
|
|
|
IDS_PARAM_APPEND "append`a`*`Append output to existing binary file."
|
|
IDS_PARAM_BEGIN "begin`b`*`Begin time for the first record to write into the output file."
|
|
IDS_PARAM_END "end`e`*`End time for the last record to write into the output file."
|
|
IDS_PARAM_FORMAT "format`f`CSV|TSV|BIN|SQL`Output file format."
|
|
IDS_PARAM_INPUT "input`i`*`Performance file to relog."
|
|
IDS_PARAM_INTERVAL "interval`t`*`Only write every nth record into the output file. Default is to write every record."
|
|
IDS_PARAM_OUTPUT "out`o`*`Output file path or SQL database."
|
|
IDS_PARAM_QUERY "query`q`*`List performance counters in the input file."
|
|
IDS_PARAM_COUNTERS "counters`c`path`Counters to filter from input log."
|
|
IDS_PARAM_COUNTERFILE "counterfile`cf`*`File listing performance counters to filter form the input log. Default is all counters in the original log file."
|
|
IDS_PARAM_YES "force`y`*`Answer yes to all questions without prompting."
|
|
|
|
IDS_DEFAULT_OUTPUT "output"
|
|
|
|
IDS_MESSAGE_INPUT "\nInput\n----------------\n"
|
|
IDS_MESSAGE_OUTPUT "Output\n----------------\n"
|
|
IDS_MESSAGE_FILE "File: %1!s!\n\n"
|
|
IDS_MESSAGE_FILES "File(s):\n"
|
|
IDS_MESSAGE_BEGIN "Begin: "
|
|
IDS_MESSAGE_END "\nEnd: "
|
|
IDS_MESSAGE_SAMPLES "\nSamples: %1!d!\n\n"
|
|
|
|
IDS_MESSAGE_LOG_UNKNOWN " %1!s!\n"
|
|
IDS_MESSAGE_LOG_OLD_BIN " %1!s! (Windows 2000)\n"
|
|
IDS_MESSAGE_LOG_CSV " %1!s! (CSV)\n"
|
|
IDS_MESSAGE_LOG_TSV " %1!s! (TSV)\n"
|
|
IDS_MESSAGE_LOG_BINARY " %1!s! (Binary)\n"
|
|
IDS_MESSAGE_LOG_PERFMON " %1!s! (Windows NT)\n"
|
|
|
|
IDS_MESSAGE_BADFILES "Error: To relog multiple files all files must be in binary format.\n"
|
|
IDS_MESSAGE_BADFORMAT "Error: Invalid file format: %1!s!\n"
|
|
IDS_MESSAGE_BADRANGE "Error: The time range specified has no overlap with the input logs.\n"
|
|
|
|
IDS_EXAMPLE_FORMAT "relog logfile.blg -f csv -o logfile.csv -t 2"
|
|
IDS_EXAMPLE_QUERY "relog logfile.blg -q -o counters.txt"
|
|
IDS_EXAMPLE_COUNTERFILE "relog logfile.blg -cf counters.txt -f blg"
|
|
IDS_EXAMPLE_COUNTERS "relog logfile.csv -c ""\\Processor(_Total)\\%% Processor Time"" -o logfile.blg"
|
|
END
|