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 --------------------------------------------------------------------------------------------------------------------------------------------
Key: AMQ-744 URL: https://issues.apache.org/activemq/browse/AMQ-744 Project: ActiveMQ Type: Improvement Components: Performance Test Reporter: james strachan Assigned to: Adrian Co Fix For: 4.1 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 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira