aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/HoststackUtil.py
diff options
context:
space:
mode:
authorIvan Ivanets <iivanets@cisco.com>2025-03-06 16:50:37 +0200
committerDave Wallace <dwallacelf@gmail.com>2025-04-04 16:18:58 +0000
commitfd14d6ba136ca97513025bf673cb3c68d86f50fd (patch)
treeb572b281b86241fe4cde071cd79ed9613fc546ae /resources/libraries/python/HoststackUtil.py
parent04a3a96213a5115e67336e4ac3951dae967745a8 (diff)
Fix: fix using LD_PRELOAD for iperf
Change order of calling LD_PRELOAD variable for running iPerf3 command Change-Id: If3bcfc6d3ebc47ee309a0ee9f6ae3af5b24617f2 Signed-off-by: Ivan Ivanets <iivanets@cisco.com>
Diffstat (limited to 'resources/libraries/python/HoststackUtil.py')
-rw-r--r--resources/libraries/python/HoststackUtil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/HoststackUtil.py b/resources/libraries/python/HoststackUtil.py
index 3ada07b2a4..c5ab0924ab 100644
--- a/resources/libraries/python/HoststackUtil.py
+++ b/resources/libraries/python/HoststackUtil.py
@@ -285,7 +285,7 @@ class HoststackUtil():
# NGINX used `worker_cpu_affinity` in configuration file
taskset_cmd = u"" if program_name == u"nginx" else \
f"taskset --cpu-list {core_list}"
- cmd = f"nohup {shell_cmd} \'{env_vars}{taskset_cmd} " \
+ cmd = f"nohup {taskset_cmd} {shell_cmd} \'{env_vars} " \
f"{program_path}{program_name} {args} >/tmp/{program_name}_" \
f"stdout.log 2>/tmp/{program_name}_stderr.log &\'"
try: