diff options
| author | Robert Greig <rgreig@apache.org> | 2006-12-29 18:37:34 +0000 |
|---|---|---|
| committer | Robert Greig <rgreig@apache.org> | 2006-12-29 18:37:34 +0000 |
| commit | 604007abfdc313840559d43958ada2aa6be77fab (patch) | |
| tree | 80e14defe2d3ef4ceb30efa12997fff86fa3bf91 /java/perftests/bin/run_many.sh | |
| parent | fa857787a62718cc1c9b9e2a4d49a2b867301fa4 (diff) | |
| download | qpid-python-604007abfdc313840559d43958ada2aa6be77fab.tar.gz | |
QPID-232 Created a simple module and added the topic test
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@491072 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/perftests/bin/run_many.sh')
| -rwxr-xr-x | java/perftests/bin/run_many.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/java/perftests/bin/run_many.sh b/java/perftests/bin/run_many.sh new file mode 100755 index 0000000000..cca2ffec21 --- /dev/null +++ b/java/perftests/bin/run_many.sh @@ -0,0 +1,30 @@ +#!/bin/sh +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + + +# args: +# <number of processes to start> +# <name of run> +# <command ro run> + +for i in `seq 1 $1`; do + $3 >$2.$i.out 2>>$2.err & + echo $! > $2.$i.pid +done; |
