Run the following command from the location where you have installed Smart Agent. The default installation location is /opt/appdynamics/appdsmartagent:
You can stop appdsmartagent from Services or run the following command:
Windows-stop
sc stop appdsmartagent
CODE
Windows-delete
sc delete appdsmartagent
CODE
You can also delete the C:\appdynamics\appdsmartagent folder.
Remove Data Post Installation
You may require to remove the Smart Agent data post installation. This is required for the Linux-based Platforms.
After the uninstallation, you may require to perform the following to purge the Smart Agent data from the machine:
Remove any Smart Agent data from the location where you have installed Smart Agent. The default install location is /opt/appdynamics/appdsmartagent and /etc/opt/appdynamics.
In the /etc/apache2/envvars file, remove the line that starts with the following:
export APPD_SMART_AGENT=...
CODE
If you have installed Smart Agent by using zip file, you may require to delete the following: