X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FTrafficGenerator.py;h=e93da0430337980e3d0c1c5df94c5dbef009fbc3;hp=fafb2b71e7928fa3b17b75a90d759aea61097916;hb=744f1b25218b2a72be351056ff68af5f6a899bca;hpb=89d1c95ef55a732f1d5dfbbb8a2117439ac05bd4 diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py index fafb2b71e7..e93da04303 100644 --- a/resources/libraries/python/TrafficGenerator.py +++ b/resources/libraries/python/TrafficGenerator.py @@ -342,8 +342,8 @@ class TrafficGenerator(AbstractMeasurer): # Start TRex. cmd = ("sh -c 'cd {dir}/scripts/ && " - "nohup ./t-rex-64 {mode} -i -c 7 > " - "/tmp/trex.log 2>&1 &' > /dev/null" + "nohup ./t-rex-64 {mode} --prefix $(hostname)" + " -i -c 7 > /tmp/trex.log 2>&1 &' > /dev/null" .format(dir=Constants.TREX_INSTALL_DIR, mode='--astf' if osi_layer == 'L7' else '')) try: