From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.toke.dk X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.1 Received: from mail.toke.dk by mail.toke.dk with LMTP id QJNREoGY41laeAAAOr1fkg for ; Sun, 15 Oct 2017 19:18:57 +0200 Received: from web6.sd.eurovps.com (web6.sd.eurovps.com [77.235.54.103]) by mail.toke.dk (Postfix) with ESMTPS id E25721FA944 for ; Sun, 15 Oct 2017 19:18:54 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=fail reason="key not found in DNS" (0-bit key) header.d=flent.org header.i=@flent.org header.b=eMYH2lJj; dkim=fail reason="signature verification failed" (1024-bit key) header.d=github.com header.i=@github.com header.b=j9oLuNJv DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=flent.org; s=default; h=Sender:Content-Type:Cc:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Mime-Version: References:In-Reply-To:Message-ID:To:From:Date:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=A2441U70xoMwZTOwPU3HuFtxMRqsR9vh200wMdIdJeg=; b=eMYH2lJjwbX1LahH67j/3EzuuS Tar7qSnvtGuHtUyVhWjnmpNghSbx5mOhJK8qSlkCVvI9siKk6Urvn4H9FI3j8vyamUPGVzeMUYXtp ZL5IYk6KUGw8zmVpjJg098EmnPKQLZoVKJpanNE4ocgVuTXGFY6GS+cSYEFLPEp8zXesa2IPaglEg gf08aTAGqY7o0/bblu+T0lAejVxJYergY1N5UCK6qaEgykY+7NA9xUvtM35MMjvh7oo1jMoOb/yE+ 9rl8gJ89u6ecoQX+M5UEUASyp7zatOO4Ffbw0D5jf2wHhB9G8lpGcRar3rlA6Sbrd9VLmpLOShD5H U1qmI1ew==; Received: from [::1] (port=46375 helo=web6.sd.eurovps.com) by web6.sd.eurovps.com with esmtp (Exim 4.89) (envelope-from ) id 1e3mYw-003xnv-HX; Sun, 15 Oct 2017 20:18:54 +0300 Received: from o6.sgmail.github.com ([192.254.113.101]:55560) by web6.sd.eurovps.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1e3mYs-003xik-2g for flent-users@flent.org; Sun, 15 Oct 2017 20:18:52 +0300 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=vZ6oc0M75z2PmQ6B04VnqGKaj+U=; b=j9oLuNJvpC/smKpx 1qc4kYb01Xt1m9fC2PiiP1IeQFTKD9ZVFyxYJGTj545xgtpB7oy6A92b+EEUOUzE gi2rDb4eSUw6f4I+TG1LyRL8ce7C62a9+8GDDTT5PsB2BZ1JOIaNbutQm3uxqcbN 4A2UoNEwQvFLOgqjp/dxUpAUk4k= Received: by filter0070p1iad2.sendgrid.net with SMTP id filter0070p1iad2-374-59E3984D-2A 2017-10-15 17:18:05.837004961 +0000 UTC Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16]) by ismtpd0009p1iad2.sendgrid.net (SG) with ESMTP id 74PlJpYbTvWCF_MiCEvfYQ for ; Sun, 15 Oct 2017 17:18:05.846 +0000 (UTC) Date: Sun, 15 Oct 2017 17:18:05 +0000 (UTC) From: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= To: tohojo/flent Message-ID: In-Reply-To: References: Mime-Version: 1.0 Precedence: list X-GitHub-Sender: tohojo X-GitHub-Recipient: flent-users X-GitHub-Reason: subscribed X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: flent-users@flent.org X-SG-EID: IRsowsd9yCOJafMG0EWGsh26xBq50lgDrxWUlCCqUns6qUknrxTH6fv9Esobw5ib4D3SnrX1+YO9UV cOcSol8fVSbqglToAB3lX3XWMC9t+1L/oM+x3PP+LqTK+oKoZCOsyl+WqtRLDn0JiykULSOzFeOZG4 DKxUeyHZE7VNnroIBhT5zGIDw2CtP7xe7B1/Z8fORDUw1ObN64rf4mIuzrX5A+mScX/zZlg2HLTJDN CEWq+jW1pK9L5QZ+sgd50j Subject: Re: [Flent-users] [tohojo/flent] packet loss stats (#106) X-BeenThere: flent-users@flent.org X-Mailman-Version: 2.1.23 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="===============5338936793609751848==" 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 --===============5338936793609751848== Content-Type: multipart/alternative; boundary="--==_mimepart_59e3984db68c6_38f13fe07990cf3828328"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_59e3984db68c6_38f13fe07990cf3828328 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Pete Heist writes: > Thanks again both for your kind help and feedback on this. I hope it's > useful, and if not, it sure was fun anyway! Very nice, and definitely useful! :) Took it for a quick spin on localhost, some oddities from my initial fiddling: - On first run I expected it to work similar to ping, i.e., output data points as packets come in. Instead I almost immediately get a summary. Ah, it's running for a single second, and needs -v to output per-packet datapoints. For one-off command-line use it might be more useful to default to a more ping-like output (i.e., run until killed, output data points)? - Hmm, -d 10 doesn't work. Ah, -d 10s does. Maybe default to seconds if no unit is given? - Let's look at the json output. Oops, -o stdout outputs garbage to the terminal; ah, it's gzipped and needs -nogzip. Probably better to default stdout to not being gzipped? And instead of adding an extension, do the opposite and detect whether or not to gzip from the supplied file name instead? If I do '-o test.json' I get 'test.json.json.gz' which is confusing. Also, supplying a filename of '-' creates '-.json.gz' instead of outputting to stdout. And the output file is written even if I cancel with Ctrl+C. I consider all these minor issues, though, and overall it looks good! I'll see if I can find some time to add support to Flent and try it out in my testbed in various scenarios. Not sure if I'll have time this week, though, have another deadline to attend to... -Toke -- 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/106#issuecomment-336726462 ----==_mimepart_59e3984db68c6_38f13fe07990cf3828328 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Pete Heist <notifications@github.com> writes:

> Thanks again both for your kind help and feedback on this. I hope it&#= 39;s
> useful, and if not, it sure was fun anyway!

Very nice, and definitely useful! :)

Took it for a quick spin on localhost, some oddities from my initial
fiddling:

- On first run I expected it to work similar to ping, i.e., output data
points as packets come in. Instead I almost immediately get a summary.
Ah, it's running for a single second, and needs -v to output
per-packet datapoints. For one-off command-line use it might be more
useful to default to a more ping-like output (i.e., run until killed,
output data points)?

- Hmm, -d 10 doesn't work. Ah, -d 10s does. Maybe default to seconds if=
no unit is given?

- Let's look at the json output. Oops, -o stdout outputs garbage to the=
terminal; ah, it's gzipped and needs -nogzip. Probably better to
default stdout to not being gzipped? And instead of adding an
extension, do the opposite and detect whether or not to gzip from the
supplied file name instead? If I do '-o test.json' I get
'test.json.json.gz' which is confusing. Also, supplying a filenam= e of
'-' creates '-.json.gz' instead of outputting to stdout. = And the
output file is written even if I cancel with Ctrl+C.

I consider all these minor issues, though, and overall it looks good!
I'll see if I can find some time to add support to Flent and try it out=
in my testbed in various scenarios. Not sure if I'll have time this
week, though, have another deadline to attend to...

-Toke

&mda= sh;
You are receiving this because you are subscribed to this thread.<= br />Reply to this email directly, view it on GitHub, or mute the thread.3D""

= ----==_mimepart_59e3984db68c6_38f13fe07990cf3828328-- --===============5338936793609751848== 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 --===============5338936793609751848==--