[PATCH] ctdb-scripts: Use ss instead of netstat for finding TCP connections

Martin Schwenke martin at meltin.net
Fri Apr 15 06:59:28 UTC 2016


ss with a filter is much faster than post-processing output from
netstat.  CTDB already has a hard dependency on iproute2 for IP
address handling, so depending on ss is no big deal.

Note that there are other bottlenecks, such as connecting to ctdbd to
register individual tickles...  those are coming soon.

Please review and maybe push...

peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctdb-scripts-Use-ss-instead-of-netstat-for-finding-T.patch
Type: text/x-patch
Size: 4858 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160415/f74636ca/0001-ctdb-scripts-Use-ss-instead-of-netstat-for-finding-T.bin>


More information about the samba-technical mailing list