DEBUG echo "starting client ..."
case "${client_type}" in
"hrktorrent_seeder")
- ./start_hrk_seeder.sh &
+ clients/hrk/start_hrk_seeder.sh &
return $!
;;
"hrktorrent_leecher")
- ./start_hrk_leecher.sh &
+ clients/hrk/start_hrk_leecher.sh &
return $!
;;
esac
DEBUG echo "stopping client ..."
case "${CLIENT_TYPE}" in
"hrktorrent_seeder")
- ./stop_hrk.sh
+ clients/hrk/stop_hrk.sh
;;
"hrktorrent_leecher")
- ./stop_hrk.sh
+ clients/hrk/stop_hrk.sh
;;
esac
}
DEBUG echo "stopping client ..."
case "${client_type}" in
"hrktorrent_seeder")
- ./detect_complete_hrk.sh ${log_file}
+ clients/hrk/detect_complete_hrk.sh ${log_file}
;;
"hrktorrent_leecher")
- ./detect_complete_hrk.sh ${log_file}
+ clients/hrk/detect_complete_hrk.sh ${log_file}
;;
esac
}
case "${client_type}" in
"hrktorrent_seeder")
DEBUG echo "hello hrktorrent_seeder"
- ./parse_hrk.sh ${log_folder} ${log_file}
+ clients/hrk/parse_hrk.sh ${log_folder} ${log_file}
;;
"hrktorrent_leecher")
DEBUG echo "hello hrktorrent_leecher"
- ./parse_hrk.sh ${log_folder} ${log_file}
+ clients/hrk/parse_hrk.sh ${log_folder} ${log_file}
;;
esac
}
# * client-wise limitation
#
# Hostname SSHport User RemoteFolder NetInterface Download(Mbps) DownloadBurst(K) Upload(Mbps) UploadBurst(K) PreRunScript PostRunScript ClientType TorrentFile Periods
-p2p-next-03.grid.pub.ro 10122 p2p /home/p2p/george eth0 8 100 8 100 pre-run_nop.sh post-run_nop.sh hrktorrent_seeder Data.100M.ct.torrent (10,60) (60,100) (120,200) (200,230) (250,600)
-p2p-next-03.grid.pub.ro 10222 p2p /home/p2p/george eth0 8 100 8 100 pre-run_nop.sh post-run_nop.sh hrktorrent_leecher Data.100M.ct.torrent (10,30) (40,70) (80,110) (130,160) (180,250) (300,600)
+p2p-next-03.grid.pub.ro 10122 p2p /home/p2p/george eth0 8 100 8 100 pre-run_nop.sh post-run_nop.sh hrktorrent_seeder Data.100M.ct.torrent (10,60) (60,100) (120,200) (200,230) (250,600)
+p2p-next-03.grid.pub.ro 10222 p2p /home/p2p/george eth0 8 100 8 100 pre-run_nop.sh post-run_nop.sh hrktorrent_leecher Data.100M.ct.torrent (10,30) (40,70) (80,110) (130,160) (180,250) (300,600)