Subject: Re: pfstat
To: Jan Danielsson <jan.danielsson@gmail.com>
From: Peter Postma <peter@pointless.nl>
List: netbsd-users
Date: 01/11/2006 21:33:13
On Wed, Jan 11, 2006 at 07:39:53PM +0100, Jan Danielsson wrote:
> Hello all,
> 
> Being pretty new to Unix:ish systems and all...
> 
>    I went from ipf to pf, and I feel it was a good move. The only thing
> I miss is something like "ipfstat -t". I found something called pfstat,
> so I downloaded the source, adjusted the Makefile, fixed a build error,
> and got a "pfstat" executable.
> 

pfstat is for creating graphs from statistics.  The "ipfstat -t"
equivalent for PF is pftop, see pkgsrc/sysutils/pftop.

>    However, when I run pfstat, it complains that it can not find
> "libgd.so.2". libgd.so.2 is in /usr/pkg/lib. In OS/2, I would simply
> have adjusted LIBPATH, but how do I do in NetBSD?
>

This problem should not happen if you use pkgsrc/sysutils/pfstat.
If it does, please file a PR.

-- 
Peter Postma