Start, Stop, and Restart Options for the pyagent proxy

To start, stop, or restart the proxy, use the pyagent run command, passing the desired operation and any options. The options include:

  • —debug (-d): starts the proxy in debugging mode
  • —no-watchdog: disables the proxy watchdog (not recommended)
  • —config-file (-c): path to the Python Agent configuration file

Usage:

pyagent proxy start|stop|restart start_options  -- [jvmOption [jvmOption [...] ]

Examples:

pyagent proxy start -c appdynamics.config -d
pyagent proxy restart -c appdynamics.config -d
pyagent proxy stop -c appdynamics.config
Note: When agent is stopped without stopping the proxy it continues to be shown as active for the next 5 minutes. To avoid the application from reappearing in the controller, it is recommended that you wait for at least 5 minutes before deleting the application after the agent shut down.