How to list your agent versions

Document ID : KB000029744
Last Modified Date : 14/02/2018
Show Technical Document Details

How to use the command line workstation to list the versions of all agents reporting to your cluster




- Go to the MOM and get into the "<MOM_home>/lib" directory

- Run the following example command:

java -Xmx128M -Duser=admin -Dhost=localhost -Dport=5001 -jar CLWorkstation.jar get historical data from agents matching "(.*)" and metrics matching "(Agent Stats:Build and Release)" for past 1 minute with frequency of 60 seconds > agent_versions.csv

(If you need to supply a password for your user account, you can use the -Dpassword switch)

- Open the generated file agent_versions.csv (CSV formatted) to see the output