Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Note

The user action file will not invoke interactive applications as it may run in an environment where interactive services do not work, for example: when “Log Monitor & Dispatcher” is installed as a service.

Starting in background mode

In order to start the Log Monitor & Dispatcher as a background application:

  1. Open "cmd.exe" from the "Start" menu.
  2. Change current directory to the folder (presumably) containing the LOG file.
  3. Start the Log Monitor & Dispatcher using the following command line as an example (for Windows x64; for Windows x86 use the following path: "C:\Program Files\CHARON\Utilities_X.X.XXXXX\x86"):
...> “C:\Program Files (x86)\CHARON\Utilities_X.X.XXXXX\x64\logmond” my_charon.log

 

To stop the Log Monitor & Dispatcher application, open the Task Manager, find the “logmond.exe” process and terminate it. 

Info

It is possible to monitor as many CHARON instances as needed. To do that "cd" to the directory containing the log file and the corresponding "NOLICENSE.BAT" file (copied from the provided template) of a certain CHARON instance and run "logmond", as described above. In this case, pay attention that the log file of each CHARON instance must be stored in a separate directory (along with the specific "NOLICENSE.BAT" containing actions relevant to each particular CHARON instance).

For convenience, it is possible to create a specific *.bat file, containing a procedure, to run all the Log Monitor & Dispatcher instances for all the CHARON instances running on the host.

Stopping multiple Log Monitor & Dispatcher instances is completed following the same steps as when stopping one instance. Terminate all the “logmond.exe” processes in Task Manager.

 

Back to Table of Contents

Running as a service

In order to install the Log Monitor & Dispatcher as a background application:

  1. Open "cmd.exe" from the "Start" menu in "Run as Administrator" mode.
  2. Change directory to the folder (presumably) containing the LOG file.

  3. Use the commands described below (Note: that the path in the examples is given for Windows x64; for Windows x86 use the path "C:\Program Files\CHARON\Utilities_X.X.XXXXX\x86" instead).

To install the Log Monitor & Dispatcher as a service:

...> “C:\Program Files (x86)\CHARON\Utilities_X.X.XXXXX\x64\logmond--install my_charon.log

To start the service:

...> “C:\Program Files (x86)\CHARON\Utilities_X.X.XXXXX\x64\logmond--start

To stop the service:

...> “C:\Program Files (x86)\CHARON\Utilities_X.X.XXXXX\x64\logmond--stop

To uninstall the service:

...> “C:\Program Files (x86)\CHARON\Utilities_X.X.XXXXX\x64\logmond--remove

Change the startup mode of the Log Monitor & Dispatcher service using the standard Windows "Services and Applications" applet.

Note

Log Monitor & Dispatcher running as a service can control only one CHARON instance. To control multiple CHARON instances, run the Log Monitor & Dispatcher service in the background as described above.