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:
Open the Service console from the Server Manager, Start menu or by running
Click on trueChartService from the list of services.
Start, stop or restart the service by clicking on the control buttons in the console’s toolbar.
Apart from the Services console, any Windows service can be also controlled via the
command line by utilizing the
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
sc stop trueChartService respectivly.
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,
tcserver is the hostname of the target system.
More information about
sc can be found at MSDN.