WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  WAS Jython scripting

    Posted Thu February 27, 2014 12:33 PM
    Hi,

     I am new to Jython and WAS. I am trying to come up with Jythin scripts to get some metrics out of my WAS environment for monitoring. I am trying to get the JDBC pools and also the server response time. Greatly appreciate if someone can help me get these metrics using some Jython commands.

    Thank You.

    -Trisha 



  • 2.  WAS Jython scripting

    Posted Sat March 01, 2014 10:47 AM

    Hi Trisha,

      Here some links (you don't say for which version)
     
       Enabling PMI using the wsadmin tool
       http://www.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.multiplatform.doc/ae/tprf_command.html
       
       Obtaining a list of performance counters from the command line
       http://www.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.multiplatform.doc/ae/tprf_counters_command.html
       
      You can review this other option, you can get the counters in xml file:
     
        Retrieving performance data with PerfServlet
        The PerfServlet is used for simple end-to-end retrieval of performance data that any tool, provided by either IBM® or a third-party vendor, can handle.
        http://www.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.doc/ae/tprf_devprfservlet.html
       
      Hope this helps.
     
    Regards