From 236a373a1e408c40060c4acb64d1cfc8c9c5444b Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Fri, 3 Jun 2016 17:19:09 +0200 Subject: [PATCH] mpExperienceIperf: with good lines --- src/mpExperienceIperf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpExperienceIperf.py b/src/mpExperienceIperf.py index d5d865d..b81097a 100644 --- a/src/mpExperienceIperf.py +++ b/src/mpExperienceIperf.py @@ -45,12 +45,12 @@ class MpExperienceIperf(MpExperience): def getClientCmd(self): s = MpExperienceIperf.IPERF_BIN + " -c " + self.mpConfig.getServerIP() + \ - " -t 10 -w " + str(int(self.xpParam.getParam(MpParamXp.RMEM).split()[-1]) / 1000) + "K -l " + str(int(self.xpParam.getParam(MpParamXp.RMEM).split()[-1]) / 1000) + "K &>" + MpExperienceIperf.IPERF_LOG + " -t 10 -w " + str(int(self.xpParam.getParam(MpParamXp.RMEM).split()[-1]) / 2000) + "K &>" + MpExperienceIperf.IPERF_LOG print(s) return s def getServerCmd(self): - s = "sudo " + MpExperienceIperf.IPERF_BIN + " -s -w " + str(int(self.xpParam.getParam(MpParamXp.RMEM).split()[-1]) / 1000) + "K -l " + str(int(self.xpParam.getParam(MpParamXp.RMEM).split()[-1]) / 1000) + "K &>" + \ + s = "sudo " + MpExperienceIperf.IPERF_BIN + " -s -w " + str(int(self.xpParam.getParam(MpParamXp.RMEM).split()[-1]) / 2000) + "K &>" + \ MpExperienceIperf.SERVER_LOG + "&" print(s) return s