Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-744

add a "vmstat" agent to the maven activemq performance plugin so we can track the CPU, IO, RAM use on the machine we are running the test on

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • Performance Test
    • None

    Description

      When running a performance test it would be good to spawn off a process to run 'vmstat' which works on linux and solaris (the flags may differ etc) which outputs the amout of CPU use in system/user code and how much is idle together with RAM & IO numbers.

      I'd be good to include in each snapshot whatever vmstat numbes we can find so we can see how the box was doing as the test was running.

      e.g.

      <sample index="5" ... >
      <machine cpuSystem="50" cpuUser="25" cpuIdle="25" ram="44" io="1000"/>
      </sample>

      Note that we may wanna make a few different machine monitoring agents using different tools - so lets make it pluggable - let 'em write whatever XML they can - though we should be able to get linux and solaris done (linux only would be fine for now)

      To call vmstat we'll need to do a System.exec() then parse the results etc

      Attachments

        Activity

          People

            aco Adrian T. Co
            jstrachan James Strachan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: