How to List your Agent Versions

Document created by Duane_Nielsen Employee on Aug 16, 2013Last modified by Duane_Nielsen Employee on Jun 13, 2014
Version 4Show Document
  • View in full screen mode

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


On the MOM get into the <EM>/lib directory


run the 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


The output is CSV formatted, so just load it up in exel (in this example from the file agent_versions.csv


If you would like to also get the number of metrics reported for each agent...

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

Attachments

    Outcomes