mpExperienceNetperf: generate log files
This commit is contained in:
parent
f9ba259343
commit
41c7fe4d84
@ -48,12 +48,14 @@ class MpExperienceNetperf(MpExperience):
|
||||
|
||||
def getClientCmd(self):
|
||||
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)
|
||||
return s
|
||||
|
||||
def getServerCmd(self):
|
||||
s = "sudo " + MpExperienceNetperf.NETSERVER_BIN
|
||||
s = "sudo " + MpExperienceNetperf.NETSERVER_BIN + " &>" + \
|
||||
MpExperienceNetperf.NETSERVER_LOG + "&"
|
||||
print(s)
|
||||
return s
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user