Change how connmon works

This commit is contained in:
Joe Talerico 2015-10-13 15:36:35 -04:00
parent 8dadff196a
commit 2ac1d6a6da
2 changed files with 7 additions and 1 deletions

View File

@ -145,7 +145,7 @@ run_rally()
truncate_token_bloat
if $CONNMON ; then
log Starting connmon
connmon results ${test_name} > /dev/null 2>&1 &
connmond --config connmon/config > connmond-${test_name} 2>&1 &
CONNMON_PID=$!
fi
@ -160,6 +160,7 @@ run_rally()
if $CONNMON ; then
log Stopping connmon
kill -9 $CONNMON_PID
mv current-run.csv ${test_name}
fi
# grep the log file for the results to be run

5
connmon/config Normal file
View File

@ -0,0 +1,5 @@
[connmon_service_default]
name: default
csv_dump: ./current-run.csv
nodes:
node1 hostname=localhost:5800 bind=0.0.0.0