[netperf-dev] netperf2 commit notice r624 - trunk/doc/examples
raj at netperf.org
raj at netperf.org
Thu Jan 17 16:46:57 PST 2013
Author: raj
Date: 2013-01-17 16:46:57 -0800 (Thu, 17 Jan 2013)
New Revision: 624
Modified:
trunk/doc/examples/runemomniaggdemo.sh
Log:
tweak the naming to have the sort of output file names work better
Modified: trunk/doc/examples/runemomniaggdemo.sh
===================================================================
--- trunk/doc/examples/runemomniaggdemo.sh 2013-01-11 23:34:55 UTC (rev 623)
+++ trunk/doc/examples/runemomniaggdemo.sh 2013-01-18 00:46:57 UTC (rev 624)
@@ -25,7 +25,8 @@
do
TARGET=${REMOTE_HOSTS[`expr $i % $NUM_REMOTE_HOSTS`]}
echo "Starting netperfs on localhost targeting ${TARGET} for $TEST" | tee -a $TESTLOG
- $NETPERF -H $TARGET $NETPERF_CMD 2>&1 > netperf_${TEST}_to_${TARGET}_${i}.out &
+ id=`printf "%.5d" $i`
+ $NETPERF -H $TARGET $NETPERF_CMD 2>&1 > netperf_${TEST}_${id}_to_${TARGET}.out &
# give it a moment to get going
sleep 1
More information about the netperf-dev
mailing list