From b554e1810dfa7652bb5c5b59173874c13f1a8ffe Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Mon, 22 Jun 2009 16:00:02 +0000 Subject: Qpid-1934 : Add start/stop script for broker monitoring. Add runTest.sh that starts a given set of tests and then generates stat files for them Updated monitor-broker to use $! to get top pid, rather than ps|grep made runTests.sh take a file which contains a list of tests to run. Addition of processTests: Creates a Result Package suitable for processing by process.sh / processAll.sh Updated process.sh to correctly handle new broker_cpu.log date format and to have better error handling when there is no GC data Update to monitor-broker to record the top rate so it can be used in processing Update to process.sh to better display the CPU x axis using the time. Update to processTests.py to use a regex to extract the GC time stamp. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787292 13f79535-47bb-0310-9956-ffa450edef68 --- java/perftests/bin/processing/processAll.sh | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 java/perftests/bin/processing/processAll.sh (limited to 'java/perftests/bin/processing/processAll.sh') diff --git a/java/perftests/bin/processing/processAll.sh b/java/perftests/bin/processing/processAll.sh new file mode 100755 index 0000000000..7fce0abb60 --- /dev/null +++ b/java/perftests/bin/processing/processAll.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +usage() +{ + echo "processResults.sh " + exit 1 +} + +root=`pwd` +echo $root +graphFile=graph.data + +if [ $# != 1 ] ; then + usage +fi + +mkdir -p results + +for file in `find $1 -name $graphFile` ; do + + dir=`dirname $file` + + echo Processing : $dir + pushd $dir &> /dev/null + + $root/process.sh $graphFile + + echo Copying Images + cp work/*png $root/results/ + + popd &> /dev/null + echo Done +done -- cgit v1.2.1