mpExperienceNetperf: generate log files

This commit is contained in:
Quentin De Coninck 2015-12-02 10:38:50 +01:00
parent f9ba259343
commit 41c7fe4d84

View File

@ -48,12 +48,14 @@ class MpExperienceNetperf(MpExperience):
def getClientCmd(self): def getClientCmd(self):
s = MpExperienceNetperf.NETPERF_BIN + " -H " + self.mpConfig.getServerIP() + \ s = MpExperienceNetperf.NETPERF_BIN + " -H " + self.mpConfig.getServerIP() + \
" -l " + self.testlen + " -t " + self.testname + " -r " + self.reqres_size " -l " + self.testlen + " -t " + self.testname + " -r " + self.reqres_size + \
" &>" + MpExperienceNetperf.NETPERF_LOG
print(s) print(s)
return s return s
def getServerCmd(self): def getServerCmd(self):
s = "sudo " + MpExperienceNetperf.NETSERVER_BIN s = "sudo " + MpExperienceNetperf.NETSERVER_BIN + " &>" + \
MpExperienceNetperf.NETSERVER_LOG + "&"
print(s) print(s)
return s return s