FreeKB - Introscope Command Line Workstation (CLW) - get status for agents
Introscope - Command Line Workstation (CLW) - get status for agents

If you are not familar with the basic usage of Command Line Workstation (CLW), check out our getting started article. The get status for agents command is used to get the status of agents that are mounted in Introscope. If you are not familiar with how an agent gets added to Introscope, check out our articles on how to add a Tomcat JVM to Introscope or how to add a WebSphere JVM to Introscope. The "list historical agents" command is used to list agents that are unmounted from Introscope.

Let's say you've a couple servers with a couple JVMs.

 

In this example, the status of an agent can be obtained like this.

java -Duser=<your username> -Dpassword=<your password> -Dhost=<hostname> -jar CLWorkstation.jar get status for agents matching .*JVM1.*

 

Which will write the results to a file named DynamicInstrumentationData-yyyymmddhhmmss.xml. The XML file will contain something like this.

<map>
  <entry>
    <string>server001|Tomcat|JVM1</string>
    <com.wily.introscope.spec.agent.beans.dynamicinstrumentation.DynamicInstrumentationResult>
      <status>0</status>
      <isActive>true</isActive>
    </com.wily.introscope.spec.agent.beans.dynamicinstrumentation.DynamicInstrumentationResult>
  </entry>
</map>

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter eb2bb in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |