Managing Infrastructure Data Collector as a Windows Service
You can use the infradc_service script to install, run, and manage Infrastructure Data Collector as a Windows service. The script contains options to start and stop Infrastructure Data Collector, as well as options to check the status of and print information about the component.
To invoke the infradc_service script
1. Open a command prompt.
2. Type infradc_service <command>.
The following table describes the commands that are available with the infradc_service script.
Command | Result |
-start | Start as a Windows service. |
-stop | Stop as a running Windows service. |
-install | Install as a Windows service. |
-installstart | Install as a Windows service and start. |
-remove | Remove as a Windows service. |
-dump | Request a thread dump. |
-query | Query the current status of the service. |
-querysilent | Silent query the current status of the service. |
-version | Print the wrapper’s version information. |
-help | Print this help message. |