Starting and stopping server services/daemons


Make sure the AppMon Server service has sufficient privileges if changing any output directories such as the session directory.


The Windows Start menu contains shortcuts to start and stop all services running locally. In Windows Services, use Dynatrace Server 7.2 and Dynatrace Frontend Server 7.2 to start and stop AppMon services.

Command line

To start or stop the AppMon Server backend and frontend processes/services through the command line:

cd %DT_HOME%  
dtserver.exe -service start    
dtfrontendserver.exe -service start
cd %DT_HOME%  
dtserver.exe -service stop    
dtfrontendserver.exe -service stop

You can also use the sc command:

sc start "dynaTrace Server 7.2"  
sc start "dynaTrace Frontend Server 7.2"  
sc stop "dynaTrace Server 7.2"
sc stop "dynaTrace Frontend Server 7.2"

Auto startup

On Windows, the AppMon Server service is set to start automatically by default. To check whether the default has been changed, go to Control Panel > Administration > Services or execute sc query "<Service Name>". To change from automatic to manual or vice versa, execute sc config "Service Name" start= auto| demand|. Note that there is no space between start and =, but there must be a space after start=.

For example: sc config "dynaTrace Server 7.2" start= auto

Services web page

To start or stop  AppMon Servers, Collectors, Agents, etc. through a web browser on all operating systems:

  1. Enter http://<hostname>:8020 in the browser's address bar. For example, http://localhost:8020.
    The <Server> Services page appears.
  2. Click Administration.
  3. Click RESTful Services.
  4. Enter the AppMon administrator user name and password when prompted.
  5. Click the desired selections on the RESTful HTML Services and subsequent pages.
    For example, to shut down Collector@60test, click Collectors on the RESTful HTML Services page, dynaTrace Collector@60test on the Collectors page, and finally Shutdown on the Collector Details page.