Re: [PATCH v2] ss: add option to print socket information on one line

2019-05-02 Thread David Ahern
On 4/30/19 7:38 PM, Josh Hunt wrote: > Multi-line output in ss makes it difficult to search for things with > grep. This new option will make it easier to find sockets matching > certain criteria with simple grep commands. > ... > > Signed-off-by: Josh Hunt > --- > > v1 -> v2 > * Update long o

[PATCH v2] ss: add option to print socket information on one line

2019-04-30 Thread Josh Hunt
Multi-line output in ss makes it difficult to search for things with grep. This new option will make it easier to find sockets matching certain criteria with simple grep commands. Example without option: $ ss -emoitn State Recv-Q Send-Q Local Address:Port Peer Address:Port ESTAB