aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bar-On <david.cdb004@gmail.com>2023-12-05 09:58:57 +0200
committerDavid Bar-On <david.cdb004@gmail.com>2023-12-05 09:58:57 +0200
commitfd2b6d9771deebd1cf42623cfe3a33913b5f8011 (patch)
treee21aece7a506b572e6788672544f67f5165fb53a
parenta67fd6747c5ceb4e5b2e2ebecaa642541eb01027 (diff)
downloadiperf3-fd2b6d9771deebd1cf42623cfe3a33913b5f8011.tar.gz
Fix --affinity help text
-rw-r--r--src/iperf_locale.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/iperf_locale.c b/src/iperf_locale.c
index 838086e..642c65c 100644
--- a/src/iperf_locale.c
+++ b/src/iperf_locale.c
@@ -115,7 +115,8 @@ const char usage_longstr[] = "Usage: iperf3 [-s|-c host] [options]\n"
" -I, --pidfile file write PID file\n"
" -F, --file name xmit/recv the specified file\n"
#if defined(HAVE_CPU_AFFINITY)
- " -A, --affinity n/n,m set CPU affinity\n"
+ " -A, --affinity n[,m] set CPU affinity core number to n (the core the process will use)\n"
+ " (optional Client only m - the Server's core number for this test)\n"
#endif /* HAVE_CPU_AFFINITY */
#if defined(HAVE_SO_BINDTODEVICE)
" -B, --bind <host>[%%<dev>] bind to the interface associated with the address <host>\n"