collectd/collectd — pull request #113 by mstap (2012-08-07 11:22:08+00:00)
Title: tcpconns/linux: Use netlink instead of parsing /proc/net/tcp{,6}

This makes the tcpconns plugin _massively_ faster on a system with many thousands of tcp connections. To illustrate the difference, here are measurements of netstat (which parses /proc/net/tcp) vs. ss (which uses netlink):

```
# time ss -tna >/dev/null

real 0m0.038s
user 0m0.016s
sys 0m0.020s
# time netstat -tna >/dev/null

real 0m2.517s
user 0m0.036s
sys 0m2.476s
```