From fd14d6ba136ca97513025bf673cb3c68d86f50fd Mon Sep 17 00:00:00 2001 From: Ivan Ivanets Date: Thu, 6 Mar 2025 16:50:37 +0200 Subject: 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 --- resources/libraries/python/HoststackUtil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/libraries/python/HoststackUtil.py') 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: -- cgit