I would like to completely remove a Java agent from a Linux box. How do I go about doing this? I understand the agent is part of the JVM and from reading the forum and documentation, the method for doing so is to remove the agentpath.
Removing the agentpath argument and simply deleting the agent directory will completely remove the agent.
We usually just suggest removing the agentpath because it makes easier to enable the agent again. If you did this, you would to install the agent binaries again before you add the agentpath.
Hope this helps,
Thanks. What is the command line to remove the agentpath? Also I have multiple entries (where I installed the agent multiple times; I do I remove those? The agent connected to the collector and then disconnected. I'd like to clean this up and then start over!
This is what I entered...
There is no command to remove the agentpath. You can simply edit the startup script and remove it.
If you'd like to start over, then I would recommend just deleting every directory associated with the agent and remove the agentpath after which you can start a fresh install.