[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPh34me7KFWnwgOaJmWZg3NxtzOZVce3VYShSy5PfeUkYkJcag@mail.gmail.com>
Date: Mon, 19 Jan 2015 15:28:21 +0100
From: Hagen Paul Pfeifer <hagen@...u.net>
To: Vadim Kochan <vadim4j@...il.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH iproute2 3/3] ss: Unify tcp stats output
Hey Vadin,
to make this short. We already discussed about changing the layout and
Stephen nacked this. My proposal was to key:value the output. Because
nearly all outputed data is already in this format - except the
congestion control algo, ts, sack and tx'ed data. Where I proposed
cc:<algo>. The key:value format has the advantages that the ordering
do not mather anymore, An python parser would be something like split
for whitespaces and later split for colon. Currently parsing this is a
mess, see [1].
Anyway, the more clever idea is to add an json outputer like already
supported by some ss modules and get rid of this mess.
Hagen
[1] https://github.com/hgn/captcp/blob/master/captcp.py#L4861
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists