* iproute2 ss: Some thoughts about additional info output layout
@ 2015-01-08 22:12 Vadim Kochan
2015-01-14 14:57 ` [REMINDER] " Vadim Kochan
2015-01-14 22:55 ` Stephen Hemminger
0 siblings, 2 replies; 3+ messages in thread
From: Vadim Kochan @ 2015-01-08 22:12 UTC (permalink / raw)
To: netdev; +Cc: vadim4j
Hi,
I think that current output of ss utility visually looks little weird
when additional info options were specified, so I feel that a lot of
yours will say that it will break existing scripts of ss output parsing
but I will try, so thats how I think ss output would looks better in
case if additionally info options were specified (I am not sure how it
would looks in the email) :
u_str ESTAB 0 0 * 14875 * 14876
users:("terminator",pid=30585,fd=8),
("terminator",pid=29450,fd=8),
("firefox",pid=21863,fd=8),
("terminator",pid=18927,fd=8),
("terminator",pid=17955,fd=8),
("terminator",pid=9620,fd=8),
("terminator",pid=7894,fd=8),
("terminator",pid=7245,fd=8),
("terminator",pid=2542,fd=8),
("qtile",pid=654,fd=8)
skmem:(r0,rb212992,t0,tb212992,f0,w0,o0,bl0) <->
u_str ESTAB 0 0 * 7550221 * 7550222
users:("terminator",pid=9620,fd=12)
skmem:(r0,rb4194304,t0,tb4194304,f0,w0,o0,bl0) <->
udp ESTAB 0 0 10.3.5.18:ipproto-58744 192.168.1.1:swipe
users:("firefox",pid=21863,fd=54)
uid:1000 ino:7328962 sk:ffff880212f77bc0 <->
skmem:(r0,rb4194304,t0,tb4194304,f0,w0,o0,bl0)
udp ESTAB 0 0 fe80::6e88:14ff:feac:51e4:ipproto-33582 fd6b:a256:8c2e::1:swipe
users:("firefox",pid=21863,fd=62)
uid:1000 ino:7328974 sk:ffff880205a76e80 <->
skmem:(r0,rb4194304,t0,tb4194304,f0,w0,o0,bl0)
tcp ESTAB 0 0 192.168.1.198:57851 173.194.113.205:https
users:("firefox",pid=21863,fd=67)
uid:1000 ino:7601516 sk:ffff880102e94d00 <->
skmem:(r0,rb372480,t0,tb87040,f0,w0,o0,bl0)
ts sack cubic
wscale:7,11
rto:253.333 rtt:50.609/18.209 ato:40
mss:1448 cwnd:10
send 2.3Mbps lastsnd:46636 lastrcv:46570 lastack:46593 pacing_rate 4.6Mbps rcv_rtt:73.333 rcv_space:42340
tcp ESTAB 0 0 192.168.1.198:47385 74.125.143.104:https
users:("firefox",pid=21863,fd=63)
uid:1000 ino:7602727 sk:ffff880007a1db00 <->
skmem:(r0,rb372480,t0,tb87040,f0,w0,o0,bl0)
ts sack cubic wscale:7,11 rto:296.666 rtt:95.496/22.756 ato:40
mss:1418 cwnd:10
send 1.2Mbps lastsnd:58640 lastrcv:58550 lastack:58550 pacing_rate 2.4Mbps rcv_rtt:96.666 rcv_space:42340
Regards,
Vadim Kochan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [REMINDER] iproute2 ss: Some thoughts about additional info output layout
2015-01-08 22:12 iproute2 ss: Some thoughts about additional info output layout Vadim Kochan
@ 2015-01-14 14:57 ` Vadim Kochan
2015-01-14 22:55 ` Stephen Hemminger
1 sibling, 0 replies; 3+ messages in thread
From: Vadim Kochan @ 2015-01-14 14:57 UTC (permalink / raw)
To: netdev; +Cc: vadim4j
On Fri, Jan 09, 2015 at 12:12:40AM +0200, Vadim Kochan wrote:
> Hi,
>
> I think that current output of ss utility visually looks little weird
> when additional info options were specified, so I feel that a lot of
> yours will say that it will break existing scripts of ss output parsing
> but I will try, so thats how I think ss output would looks better in
> case if additionally info options were specified (I am not sure how it
> would looks in the email) :
>
>
> u_str ESTAB 0 0 * 14875 * 14876
> users:("terminator",pid=30585,fd=8),
> ("terminator",pid=29450,fd=8),
> ("firefox",pid=21863,fd=8),
> ("terminator",pid=18927,fd=8),
> ("terminator",pid=17955,fd=8),
> ("terminator",pid=9620,fd=8),
> ("terminator",pid=7894,fd=8),
> ("terminator",pid=7245,fd=8),
> ("terminator",pid=2542,fd=8),
> ("qtile",pid=654,fd=8)
> skmem:(r0,rb212992,t0,tb212992,f0,w0,o0,bl0) <->
>
> u_str ESTAB 0 0 * 7550221 * 7550222
> users:("terminator",pid=9620,fd=12)
> skmem:(r0,rb4194304,t0,tb4194304,f0,w0,o0,bl0) <->
>
> udp ESTAB 0 0 10.3.5.18:ipproto-58744 192.168.1.1:swipe
> users:("firefox",pid=21863,fd=54)
> uid:1000 ino:7328962 sk:ffff880212f77bc0 <->
> skmem:(r0,rb4194304,t0,tb4194304,f0,w0,o0,bl0)
>
> udp ESTAB 0 0 fe80::6e88:14ff:feac:51e4:ipproto-33582 fd6b:a256:8c2e::1:swipe
> users:("firefox",pid=21863,fd=62)
> uid:1000 ino:7328974 sk:ffff880205a76e80 <->
> skmem:(r0,rb4194304,t0,tb4194304,f0,w0,o0,bl0)
>
> tcp ESTAB 0 0 192.168.1.198:57851 173.194.113.205:https
> users:("firefox",pid=21863,fd=67)
> uid:1000 ino:7601516 sk:ffff880102e94d00 <->
> skmem:(r0,rb372480,t0,tb87040,f0,w0,o0,bl0)
> ts sack cubic
> wscale:7,11
> rto:253.333 rtt:50.609/18.209 ato:40
> mss:1448 cwnd:10
> send 2.3Mbps lastsnd:46636 lastrcv:46570 lastack:46593 pacing_rate 4.6Mbps rcv_rtt:73.333 rcv_space:42340
>
> tcp ESTAB 0 0 192.168.1.198:47385 74.125.143.104:https
> users:("firefox",pid=21863,fd=63)
> uid:1000 ino:7602727 sk:ffff880007a1db00 <->
> skmem:(r0,rb372480,t0,tb87040,f0,w0,o0,bl0)
> ts sack cubic wscale:7,11 rto:296.666 rtt:95.496/22.756 ato:40
> mss:1418 cwnd:10
> send 1.2Mbps lastsnd:58640 lastrcv:58550 lastack:58550 pacing_rate 2.4Mbps rcv_rtt:96.666 rcv_space:42340
>
> Regards,
> Vadim Kochan
Jut reminder may be it was missed within a lots of emails.
Thanks,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: iproute2 ss: Some thoughts about additional info output layout
2015-01-08 22:12 iproute2 ss: Some thoughts about additional info output layout Vadim Kochan
2015-01-14 14:57 ` [REMINDER] " Vadim Kochan
@ 2015-01-14 22:55 ` Stephen Hemminger
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2015-01-14 22:55 UTC (permalink / raw)
To: Vadim Kochan; +Cc: netdev
On Fri, 9 Jan 2015 00:12:40 +0200
Vadim Kochan <vadim4j@gmail.com> wrote:
> Hi,
>
> I think that current output of ss utility visually looks little weird
> when additional info options were specified, so I feel that a lot of
> yours will say that it will break existing scripts of ss output parsing
> but I will try, so thats how I think ss output would looks better in
> case if additionally info options were specified (I am not sure how it
> would looks in the email) :
The current output is pretty much unparseable for options with ss.
For a parseable output generating JSON would be much better, I did that for
a couple of utilities.
I see no problem with having a better human format.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-15 2:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-08 22:12 iproute2 ss: Some thoughts about additional info output layout Vadim Kochan
2015-01-14 14:57 ` [REMINDER] " Vadim Kochan
2015-01-14 22:55 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).