lkml.org 
[lkml]   [2019]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: ss: Checking efficient analysis for network connections
From
Date
> Multi-line output in ss makes it difficult to search for things with grep.

I became more concerned about efficient data processing for the
provided information. There are further software development possibilities
to consider, aren't there?

The chosen data formats influence the software situation considerably.

* Information is exported together with extra space characters.
Other field delimiters can occasionally be nicer.

* Regular expressions are useful to extract data from text lines.
But other programming interfaces are safer to work with data structures.
The mentioned program can be used to filter the provided input.
But if you would like to work with information from the filtered records,
you would need to repeat some data processing by the calling process
so that items will be converted into structured elements.
Would you like to avoid duplicate work?


I imagine then that it would be also nicer to perform filtering based on
configurable constraints at the data source directly.
How much can Linux help more in this software area?
How do you think about such ideas?

Regards,
Markus

\
 
 \ /
  Last update: 2019-06-01 10:37    [W:0.150 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site