END
index=1
-while read server port user remote_path remote_if dl_bw dl_burst ul_bw ul_burst pre_run_script post_run_script client_type torrent_file periods; do
+while read server port user remote_path remote_if dl_bw dl_burst ul_bw ul_burst num_conn pre_run_script post_run_script client_type torrent_file periods; do
new_port=${port%22}
if test -z "${new_port}"; then
base_log_name=${server%%.*}
END
index=1
-while read server port user remote_path remote_if dl_bw dl_burst ul_bw ul_burst pre_run_script post_run_script client_type torrent_file periods; do
+while read server port user remote_path remote_if dl_bw dl_burst ul_bw ul_burst num_conn pre_run_script post_run_script client_type torrent_file periods; do
if ! test_is_leecher ${client_type}; then
((index++))
continue
END
index=1
-while read server port user remote_path remote_if dl_bw dl_burst ul_bw ul_burst pre_run_script post_run_script client_type torrent_file periods; do
+while read server port user remote_path remote_if dl_bw dl_burst ul_bw ul_burst num_conn pre_run_script post_run_script client_type torrent_file periods; do
if ! test_is_leecher ${client_type}; then
((index++))
continue
END
index=1
-while read server port user remote_path remote_if dl_bw dl_burst ul_bw ul_burst pre_run_script post_run_script client_type torrent_file periods; do
+while read server port user remote_path remote_if dl_bw dl_burst ul_bw ul_burst num_conn pre_run_script post_run_script client_type torrent_file periods; do
if ! test_is_leecher ${client_type}; then
((index++))
continue
echo "### END SCENARIO INFO"
echo ""
- echo -e "# Hostname\t\t\tSSHport\t\tUser\t\tRemoteFolder\t\tNetInterface\t\tDownload(Mbps)\tDownloadBurst(K)\tUpload(Mbps)\tUploadBurst(K)\t\tPreRunScript\t\tPostRunScript\t\tClientType\t\t\tTorrentFile\t\tPeriods"
+ echo -e "# Hostname\t\t\tSSHport\t\tUser\t\tRemoteFolder\t\tNetInterface\t\tDownload(Mbps)\tDownloadBurst(K)\tUpload(Mbps)\tUploadBurst(K)\tOverallNoOfConnections\tPreRunScript\t\tPostRunScript\t\tClientType\t\t\tTorrentFile\t\tPeriods"
index=0
for sys_index in 01 03 04 05 06 07 08 09 10; do
for ce_index in 1 2 3 4 5 6 7 8 9 10; do
echo -en "$down_bw\t\t"
echo -en "100\t\t\t"
echo -en "$up_bw\t\t"
- echo -en "100\t\t\t"
+ echo -en "100\t\t"
+ echo -en "$num_conn\t\t\t"
echo -en "pre-run_nop.sh\t\t"
echo -en "post-run_nop.sh\t\t"