FB TraceManager 2 - Documentation

FBTMLoggerSvc - Command-line switches

FBTMLoggerSvc - Command-line switches

Previous topic Next topic  

FBTMLoggerSvc - Command-line switches

Previous topic Next topic  

FBTMLoggerSvc2.exe supports the following command-line switches.

 

Options


-s | /s <service_name>

Name of the Windows service (no spaces, special characters allowed)

-d | /d <service_display_name>

Display name of the Windows service

-p | /p <fbtm_project_id>

Project id for a particular project in the FB TraceManager 2 database FBTM2.fdb

-i | /i <fbtm_configuration_file>

Path to a FB TraceManager 2 configuration file fbtm_program.ini



Installation / Uninstallation


-install | /install

Installs a Windows service. Mandatory options:

-s | /s <service_name>
-d | /d <service_display_name>
-p | /p <fbtm_project_id>
-i | /i <fbtm_configuration_file>

-uninstall | /uninstall

Uninstalls a Windows service. Mandatory options:

-s | /s <service_name>


Administration


-start | /start

Starts a Windows service. Mandatory options:

-s | /s <service_name>

-stop | /stop

Stops a Windows service. Mandatory options:

-s | /s <service_name>

-pause | /pause

Pause a Windows service. Mandatory options:

-s | /s <service_name>

-resume | /resume

Resumes a paused Windows service. Mandatory options:

-s | /s <service_name>

-restart | /restart

Restarts a Windows service. Mandatory options:

-s | /s <service_name>

 

The following examples show the usage of the command-line switches.

 

Installation

FBTMLoggerSvc2.exe -s FBTMLoggerSvc2_Employee -d "FB TraceManager 2 Logger Service - Employee" -p 4 -i "C:\Users\Thomas\AppData\Roaming\FB TraceManager 2\fbtm_program.ini" /install

 

Uninstallation

FBTMLoggerSvc2.exe -s FBTMLoggerSvc2_Employee /uninstall

 

Start

FBTMLoggerSvc2.exe -s FBTMLoggerSvc2_Employee /start

 

Stop

FBTMLoggerSvc2.exe -s FBTMLoggerSvc2_Employee /stop

 

Pause

FBTMLoggerSvc2.exe -s FBTMLoggerSvc2_Employee /pause

 

Resume

FBTMLoggerSvc2.exe -s FBTMLoggerSvc2_Employee /resume

 

Restart

FBTMLoggerSvc2.exe -s FBTMLoggerSvc2_Employee /restart

-weight: bold;">Resume

FBTMLoggerSvc2.exe -s FBTMLoggerSvc2_Employee /resume

 

Restart

FBTMLoggerSvc2.exe -s FBTMLoggerSvc2_Employee /restart