trueChart Help

Controlling the trueChart Service

The trueChart service is a Windows service that is generated and automatically started upon installation of trueChart and can be controlled the same way as any other Windows service:

  1. Open the Service console from the Server Manager, Start menu or by running console.msc.

  2. Click on trueChartService from the list of services.

  3. Start, stop or restart the service by clicking on the control buttons in the console’s toolbar.

tcservice windows services

Apart from the Services console, any Windows service can be also controlled via the command line by utilizing the sc command.

To query the status of the trueChart service, simply execute sc query trueChartService:

C:\>sc query trueChartService

SERVICE_NAME: trueChartService
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0</pre>

The service can be started or stopped using sc start trueChartService or sc stop trueChartService respectivly.

Using the sc command has the additional advantage of being both scriptable and allowing you to control the service on a remote server by putting the hostname before the control command, e.g. sc tcserver query trueChartService, where tcserver is the hostname of the target system.

More information about sc can be found at MSDN.