From 41c7fe4d8410fad380cf47c3ec74319e902d7a68 Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Wed, 2 Dec 2015 10:38:50 +0100 Subject: [PATCH] mpExperienceNetperf: generate log files --- src/mpExperienceNetperf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mpExperienceNetperf.py b/src/mpExperienceNetperf.py index 207e6e6..fde4ade 100644 --- a/src/mpExperienceNetperf.py +++ b/src/mpExperienceNetperf.py @@ -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