From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.toke.dk X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.2 Received: from mail.toke.dk by mail.toke.dk with LMTP id t1BrC1oEcV11bQAAOr1fkg (envelope-from ) for ; Thu, 05 Sep 2019 14:49:30 +0200 Authentication-Results: mail.toke.dk; none (SPF check N/A for local connections - client-ip=77.235.54.103; helo=web6.sd.eurovps.com; envelope-from=flent-users-bounces@flent.org; receiver=) Authentication-Results: mail.toke.dk; dkim=fail reason="signature verification failed" (1024-bit key) header.d=github.com header.i=@github.com header.b=r4owsdC7 Received: from web6.sd.eurovps.com (web6.sd.eurovps.com [77.235.54.103]) by mail.toke.dk (Postfix) with ESMTPS id 05180661BF3 for ; Thu, 5 Sep 2019 14:49:27 +0200 (CEST) Received: from [::1] (port=48904 helo=web6.sd.eurovps.com) by web6.sd.eurovps.com with esmtp (Exim 4.92) (envelope-from ) id 1i5rCX-006eUn-TB; Thu, 05 Sep 2019 15:49:25 +0300 Received: from out-22.smtp.github.com ([192.30.252.205]:46127) by web6.sd.eurovps.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1i5rCM-006eO8-Kr for flent-users@flent.org; Thu, 05 Sep 2019 15:49:21 +0300 Date: Thu, 05 Sep 2019 05:48:34 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1567687714; bh=RrM9FHbrUAH6ITHgxQpKF3hWP/GLRD8i0Uaj3AVlqIg=; h=Date:From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=r4owsdC7wfIKy3QhNoJMbLlYonraXgRJWuDSmct++oknL4Vl9497QHVldHu6oFV6e AMqXpNjY8ZdmdpXJZt1uFve3uhpEQEhRAlClT/M/nRU7B2/WNGjYPSto5Vk4RkiVxA D0BgE3brNl0/OdJKm6nC1g+6QS/e3g7qEkaxR9dg= From: Rich Brown To: tohojo/flent Message-ID: Mime-Version: 1.0 Precedence: list X-GitHub-Sender: richb-hanover X-GitHub-Recipient: flent-users X-GitHub-Reason: subscribed X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: flent-users@flent.org Subject: [Flent-users] [tohojo/flent] `ss: command not found` on macOS (#177) X-BeenThere: flent-users@flent.org X-Mailman-Version: 2.1.27 List-Id: Flent discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: tohojo/flent Cc: Subscribed Content-Type: multipart/mixed; boundary="===============6061423291740837256==" Errors-To: flent-users-bounces@flent.org Sender: "Flent-users" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - web6.sd.eurovps.com X-AntiAbuse: Original Domain - toke.dk X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - flent.org X-Get-Message-Sender-Via: web6.sd.eurovps.com: acl_c_authenticated_local_user: mailman/mailman X-Authenticated-Sender: web6.sd.eurovps.com: mailman@flent.org --===============6061423291740837256== Content-Type: multipart/alternative; boundary="--==_mimepart_5d710422273fb_7c6c3fb6f8ecd9682023b8"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5d710422273fb_7c6c3fb6f8ecd9682023b8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Spurred on by Dave's [Coffee Shop Bloat Test](https://lists.bufferbloat.net/pipermail/bloat/2019-September/009336.html) script, I decided to try it on my Mac (10.12.6) with Flent 1.3.0. This command seemed to work fine: `flent -x -H flent-fremont.bufferbloat.net -t Rich_Test --te=upload_streams=4 tcp_ndown` But I got a ton of error messages when I tried the second command using the `--socket-stats` option: there were none if I left that off. What other information could I provide? Thanks. ``` bash bash-3.2$ flent -x -H flent-fremont.bufferbloat.net -t Rich_Test --te=upload_streams=4 --socket-stats tcp_nup Started Flent 1.3.0 using Python 2.7.15. Starting tcp_nup test. Expected run time: 70 seconds. WARNING: Command produced no valid data. Runner class: SsRunner Command: /bin/bash /usr/local/lib/python2.7/site-packages/flent/scripts/ss_iterate.sh -I 0.20 -c 300 -H localhost -t '23.239.20.41' -f ' and dport != 12865' Return code: 0 Stdout: Time: 1567685642.N --- Time: 1567685642.N --- Time: 1567685642.N ... a zillion of these lines, followed by ... Time: 1567685705.N --- Time: 1567685706.N --- Time: 1567685706.N --- Stderr: /usr/local/lib/python2.7/site-packages/flent/scripts/ss_iterate.sh: line 55: ss: command not found /usr/local/lib/python2.7/site-packages/flent/scripts/ss_iterate.sh: line 55: ss: command not found ... a zillion of these lines, and finally ... /usr/local/lib/python2.7/site-packages/flent/scripts/ss_iterate.sh: line 55: ss: command not found Data file written to ./tcp_nup-2019-09-05T081356.815453.Rich_Test.flent.gz. Summary of tcp_nup test run from 2019-09-05 12:13:56.815453 Title: 'Rich_Test' avg median # data pts Ping (ms) ICMP : 100.69 101.00 ms 349 TCP upload avg : 0.18 0.18 Mbits/s 101 TCP upload sum : 0.31 0.30 Mbits/s 101 TCP upload::1 : 0.15 0.13 Mbits/s 7 TCP upload::2 : 0.23 0.21 Mbits/s 11 TCP upload::3 : 0.17 0.17 Mbits/s 8 TCP upload::4 : 0.23 0.21 Mbits/s 11 bash-3.2$ ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/177 ----==_mimepart_5d710422273fb_7c6c3fb6f8ecd9682023b8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Spurred on by Dave's Coffee Shop Bloat Test script, I decided to try it on my Mac (10.12.6) with Flent 1.3.0. This command seemed to work fine:

flent -x -H flent-fremont.bufferbloat.net -t Rich_Test --te=upload_streams=4 tcp_ndown

But I got a ton of error messages when I tried the second command using the --socket-stats option: there were none if I left that off. What other information could I provide? Thanks.

bash-3.2$ flent -x -H flent-fremont.bufferbloat.net -t Rich_Test --te=upload_streams=4 --socket-stats tcp_nup
Started Flent 1.3.0 using Python 2.7.15.
Starting tcp_nup test. Expected run time: 70 seconds.
WARNING: Command produced no valid data.
Runner class: SsRunner
Command: /bin/bash /usr/local/lib/python2.7/site-packages/flent/scripts/ss_iterate.sh -I 0.20 -c 300 -H localhost -t '23.239.20.41' -f ' and dport != 12865'
Return code: 0
Stdout: Time: 1567685642.N
---
Time: 1567685642.N
---
Time: 1567685642.N

... a zillion of these lines, followed by ...

Time: 1567685705.N
---
Time: 1567685706.N
---
Time: 1567685706.N
---

Stderr: /usr/local/lib/python2.7/site-packages/flent/scripts/ss_iterate.sh: line 55: ss: command not found
/usr/local/lib/python2.7/site-packages/flent/scripts/ss_iterate.sh: line 55: ss: command not found

... a zillion of these lines, and finally ...

/usr/local/lib/python2.7/site-packages/flent/scripts/ss_iterate.sh: line 55: ss: command not found

Data file written to ./tcp_nup-2019-09-05T081356.815453.Rich_Test.flent.gz.

Summary of tcp_nup test run from 2019-09-05 12:13:56.815453
  Title: 'Rich_Test'

                           avg       median          # data pts
 Ping (ms) ICMP :       100.69       101.00 ms              349
 TCP upload avg :         0.18         0.18 Mbits/s         101
 TCP upload sum :         0.31         0.30 Mbits/s         101
 TCP upload::1  :         0.15         0.13 Mbits/s           7
 TCP upload::2  :         0.23         0.21 Mbits/s          11
 TCP upload::3  :         0.17         0.17 Mbits/s           8
 TCP upload::4  :         0.23         0.21 Mbits/s          11
bash-3.2$


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_5d710422273fb_7c6c3fb6f8ecd9682023b8-- --===============6061423291740837256== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Flent-users mailing list Flent-users@flent.org http://flent.org/mailman/listinfo/flent-users_flent.org --===============6061423291740837256==--