git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db4ac71
)
added print_result()
author
Jan Pospíšil
<honik@ntc.zcu.cz>
Wed, 7 Jun 2006 14:23:28 +0000
(14:23 +0000)
committer
Jan Pospíšil
<honik@ntc.zcu.cz>
Wed, 7 Jun 2006 14:23:28 +0000
(14:23 +0000)
org.glite.lb.common/src/perftest_common.sh
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.common/src/perftest_common.sh
b/org.glite.lb.common/src/perftest_common.sh
index
1884f98
..
ba06ca4
100644
(file)
--- a/
org.glite.lb.common/src/perftest_common.sh
+++ b/
org.glite.lb.common/src/perftest_common.sh
@@
-60,6
+60,18
@@
get_result()
PERFTEST_DAY_JOB_THROUGHPUT=`echo "scale=6; $PERFTEST_NUM_JOBS / $total * 3600 * 24" |bc`
}
+print_result()
+{
+j=0
+while [[ $j -lt 4 ]]
+do
+ echo -e -n "\t ${PERFTEST_THROUGHPUT[$j]}"
+ j=$((j+1))
+done
+echo ""
+
+}
+
shutdown()
{
[[ -z $1 ]] && return