I was curious if there was an API which provides similar information to what you get when running "netstat -an"; specifically I want to efficiently monitor connections as they come and go into FreeBSD servers. I saw that netstat provides the --libxo json option which is one approach (i.e. run netstat shell commands in a tight loop) but that seems heavy weight if the data is easily extracted from a available system function etc...
Anyone want to share any ideas for such a thing?
Dan
Anyone want to share any ideas for such a thing?
Dan