Versions Compared

Key

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

...

Windows service agent: Directly manages the service registered in Windows SCM (Service Control Manager).

StatusAgent commandDescriptionNote

Online

Windows service is operating properly.

Offline

Terminates windows service. It has the same effects as the following command.
C:\> SC STOP SERVICE_NAME EX) SC STOP SQLSERVER

 
Monitoring

The status of Windows service is assessed. Refer to the results from running the following command.
C:W> SC STATUS SERVICE_NAME EX) SC STATUS SQLSERVER

 

Offline

Windows service is terminated.

Online

Windows service is started. It has the same effects as the following command.
C:\> SC START SERVICE_NAME EX) SC START SQLSERVER

 
Monitoring

The status of Windows service is assessed. Refer to the results from running the following command.
C:W> SC STATUS SERVICE_NAME EX) SC STATUS SQLSERVER

 

Trouble

Windows service is not operating properly.

OnlineWindows service is started. It has the same effects as the following command.
C:\> SC START SERVICE_NAME EX) SC START SQLSERVER
 
OfflineTerminates windows service. It has the same effects as the following command.
C:\> SC STOP SERVICE_NAME EX) SC STOP SQLSERVER
 

...

[Figure] Window Service Attribute


Attribute

Description

Type

DefaultEditNote

ServiceName

It is a name of the window service to be monitored.

STRING

 X 

...