libstat status 2
Gabor PALI
pgj at FreeBSD.org
Sun Jun 14 22:18:00 UTC 2009
Hello there,
During the last week, I worked on libnetstat and moved many functions
from netstat(1) to that library and built up a simple interface for
them. Thanks to this, now I have abstractions for representing active
unix domain and inet4/inet6 connections (called socket_type and
addr_type), and I also have a modified version of netstat(1) to use
the implemented library functions. I have not tested it too much
(yet), but it works well in simple cases. You can reach both of them
from Perforce [1].
Plans for the next week:
- Implement some further optimizations for the library, solve the
problems noted in the sources
- Investigate the possibilities of replacing the interface based on
sysctl(8) for live monitoring
- Create a simple tool using libnetstat for monitoring active
connections, similar to top(1)
Cheers,
:g
[1] http://perforce.freebsd.org/changeList.cgi?FSPC=%2F%2Fdepot%2Fprojects%2Fsoc2009%2Fpgj_libstat%2F...&ignore=GO%21
More information about the soc-status
mailing list