Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0
    • Component/s: Performance Test
    • Labels:
      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

            • Assignee:
              aco Adrian T. Co
              Reporter:
              jstrachan James Strachan

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment