Is there a way to check the Java Agent version from the client host without actually starting the agent?
I know when the agent starts it logs this information, but I'd like to be able to detrmine the version via a shell command so that I can manage agent installations via configuration management.
Thanks. I came up with this one liner to extract the version info:
$ unzip -p javaagent.jar META-INF/MANIFEST.MF | grep Implementation-Version | awk {'print $4, $5'}
Hi,
You could see the agent version artifact details in MANIFEST.MF file under AppServerAgent.zip/javaagent.jar/META-INF/ path Or AppServerAgent.zip/lib/appagent.jar/META-INF/ path for field "Implementation-Version" value, Hope that information helps.
You can open jar file using 7-zip as such tool.
Regards,
Arun
Thanks. I came up with this one liner to extract the version info:
$ unzip -p javaagent.jar META-INF/MANIFEST.MF | grep Implementation-Version | awk {'print $4, $5'}