From a076c471330b13a58aee94d6901da9c5006ead65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandino=20Araico=20S=C3=A1nchez?= Date: Tue, 25 Jan 2022 01:46:19 -0600 Subject: [PATCH] test-iperf que escribe su comando --- scripts/test-iperf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/test-iperf b/scripts/test-iperf index 13fc4a0..c753088 100755 --- a/scripts/test-iperf +++ b/scripts/test-iperf @@ -35,8 +35,12 @@ for VLAN in {10..4000} ; do iperf3 -P 4 -p 52$MY_PORT \ --logfile $OUTPUT_DIR/iperf/client.$IP$LABEL.log \ -c $IP - echo $? - + RES=$? + echo $RES + echo "iperf3 -P 4 -p 52$MY_PORT \ + --logfile $OUTPUT_DIR/iperf/client.$IP$LABEL.log \ + -c $IP" > $OUTPUT_DIR/iperf/client.$IP$LABEL.cmd + echo $RES >> $OUTPUT_DIR/iperf/client.$IP$LABEL.cmd done done