summaryrefslogtreecommitdiff
path: root/qpid/java/perftests/bin/processing/processAll.sh
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2009-06-22 16:00:02 +0000
committerMartin Ritchie <ritchiem@apache.org>2009-06-22 16:00:02 +0000
commit7652706eeb5e27a8a0ce4fd1fe3d90a080c9d7d7 (patch)
tree859d3c84ca7cdc7bf8dd261bf79ae134c91edc23 /qpid/java/perftests/bin/processing/processAll.sh
parent4a1121fbfee404c39059185fe35a3b2107391da7 (diff)
downloadqpid-python-7652706eeb5e27a8a0ce4fd1fe3d90a080c9d7d7.tar.gz
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@787292 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/perftests/bin/processing/processAll.sh')
-rwxr-xr-xqpid/java/perftests/bin/processing/processAll.sh33
1 files changed, 33 insertions, 0 deletions
diff --git a/qpid/java/perftests/bin/processing/processAll.sh b/qpid/java/perftests/bin/processing/processAll.sh
new file mode 100755
index 0000000000..7fce0abb60
--- /dev/null
+++ b/qpid/java/perftests/bin/processing/processAll.sh
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+usage()
+{
+ echo "processResults.sh <search dir>"
+ 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