Showing results for 
Show  only  | Search instead for 
Did you mean: 
AppDynamics Team


When restarting the Events Service or Analytic Agent, do I need to delete leftover process ID (PID) from the previous session, such as or, manually by the user?


In previous versions, users who needed to restart their Events Service or Analytic Agent were required to manually delete the ID for any stalled or leftover processes in case of abrupt/forced shutdown of the process.


Starting in version 4.3, when a PID does not get deleted due to a forced shutdown or restart, users will no longer have to manually delete it.


AppDynamics version 4.3 adds a -f flag to the start command which removes any leftover PID due to an abrupt or forced shutdown.


Linux example:


To start events-service using -f flag, use the below command

bin/ start -f -p conf/

To start analytic-agent using -f flag, use the below command
./ start -f


For more commands, use the help information found in ./ --help and ./ --help.


Hi @Mohammed.Rayan ,

Could you please also guide me on how to restart the analytics agent in the Windows server?

Thank you



Mohammed Saad

AppDynamics Team (Retired)

Hi @Mohammed Saad.Shaikh 

Had a chat with @Aaron.Schifman about your question and he clarified that the process is the same for all agents on Windows. You can do one of the following:

  • Use the Windows Service to stop/start that service, or
  • Navigate to the installation directory where you should find an executable. Add  "/stop" to shutdown, and then run it again without the argument to start.

Though there aren't notes on restarting the Analytics Agent specifically, you can follow the same process as is followed for Machine Agent. That documentation is here: Start and stop the Machine Agent

Please let us know if this helps.

Kind regards,

Version history
Last update:
‎09-07-2018 09:15 AM
Updated by: