Re: [Ganglia-general] tcpconn.py and netstat

2012-02-28 Thread Carlo Marcelo Arenas Belon
On Mon, Feb 27, 2012 at 11:12:39AM -0500, Chris Burroughs wrote: Currently tcpconn.py uses netstat to get it's socket stats. This gives lots of detail but is far too slow for much production use (running netstat can take many minutes). tcpconn.py was originally written as an advanced python

[Ganglia-general] tcpconn.py and netstat

2012-02-27 Thread Chris Burroughs
Currently tcpconn.py uses netstat to get it's socket stats. This gives lots of detail but is far too slow for much production use (running netstat can take many minutes). /proc/net/sockstat gives less information but has no performance problems. There was a suggestion previously to use the ss