CO-sysmsg.exe command-line arguments
The CO-sysmsg.exe program contains various command-line options that allow the program to execute at a command prompt. While these command-line options are never required, it might facilitate certain user operations, especially in batch files. The various options of the program are as follows:
CO-sysmsg –install | The –install option causes the program to be installed as BMC Defender Syslog message service in the Windows Service manager. If the service is already installed, no action occurs. This is normally executed by the CO-install.exe program but can be executed manually to reinstall the service. |
CO-sysmsg –remove | The –remove option removes the program from the Windows Service Manager after stopping the service (as needed). This normally gets executed by the CO-install.exe program, but can also be executed manually to uninstall the service. |
CO-sysmsg –start | The –start option starts the BMC Defender Syslog message service that is the same as starting the service via the Windows Service Manager, or executing the "net start “CorreLog Message” command. If the service has already started, this option does not affect.. |
CO-sysmsg –stop | The –stop option stops the BMC Defender Syslog message service, which is the same as ending the service via the Windows Service Manager, or executing the "net stop “CorreLog Message” command. If the service has already stopped, this option does not affect.. |
CO-sysmsg -mode auto | manual | disable | The –mode option must be followed by the keyword auto, manual, or disable, and modifies the BMC Defender Syslog message service startup mode, identical to making this modification via the Windows Service Manager. |
CO-sysmsg –permit | The –permit option checks your permissions to access the Windows Service Manager. The program displays whether the status of the permissions is available or not. |
CO-sysmsg –foreground | The –foreground option executes the CO-sysmg.exe program as a foreground process without the service manager. In addition to sending syslog messages to the receiver, the program displays internal error messages or warnings, if any, and additionally displays messages to standard output. |
CO-sysmsg –check | The –check option executes the CO-sysmsg.exe program, checking the configuration file, and displays error messages, if any. The program exits after the checks. This option is useful if any changes are made to the configuration data. (Error messages are always logged to the CO-sysmsg.log file for later inspection.) |
CO-sysmsg –help | The –help option displays brief help on the preceding options. |
Related topic