[collectd] netlink patch against tcpconns.c

Jacek Jedrzejczak jacol at ids.gda.pl
Wed Aug 25 13:46:59 CEST 2010


becasue reading from /proc/net/tcp[6] takes a LOT of time, especially 
when there are thousands of connections. I've adopted a patch on netstat 
that uses netlink interface:


as described in:


The difference is like night and day. (netstat -n -t vs ss -a -n t)

Maybe someone is interested in making it pretty so it could be added to 
the tree.

Thank you for collectd,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: collectd-4.x-tpconns-netlink.patch
Type: text/x-patch
Size: 3418 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20100825/32ec8ad0/attachment.bin 

More information about the collectd mailing list