Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2009 00:17:58 +0200
From:      Gabor PALI <pgj@FreeBSD.org>
To:        soc-status@freebsd.org
Cc:        Oleksandr Tymoshenko <gonzo@freebsd.org>, Robert Watson <rwatson@freebsd.org>
Subject:   libstat status 2
Message-ID:  <685a6ef80906141517y70ef20f3w31e1cef15bc5563@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?685a6ef80906141517y70ef20f3w31e1cef15bc5563>