It would be useful if ServiceMonitor.exe supports /? command line switch and dumps not only usage info but also version info, similar to LogMonitor.exe:
> LogMonitor.exe /?
LogMonitor Tool Version 1.2.0.0
Usage: LogMonitor.exe [/?] | [--help] | [[/CONFIG <PATH>][COMMAND [PARAMETERS]]]
/?|--help Shows help information
<PATH> Specifies the path of the Json configuration file. This is
an optional parameter. If not specified, then default Json
configuration file path C:\LogMonitor\LogMonitorConfig.json is used
COMMAND Specifies the name of the executable to be run
PARAMETERS Specifies the parameters to be passed to the COMMAND
This tool monitors Event log, ETW providers and log files and write the log entries
to the console. The configuration of input log sources is specified in a Json file.
file.
Simply, it would be helpful of command line interface of ServiceMonitor.exe is somewhat unified with the LogMonitor.exe.
It would be useful if
ServiceMonitor.exesupports/?command line switch and dumps not only usage info but also version info, similar toLogMonitor.exe:Simply, it would be helpful of command line interface of
ServiceMonitor.exeis somewhat unified with theLogMonitor.exe.