LOL.  Sorry, didn't even bother to see that someone else already did
something like this (with the same name, no less).  Please configure
your procmail to redirect all future mailings from me to /dev/null.  ;-)

-J.

On Sat, 2002-11-16 at 09:56, Jason Dixon wrote:
> I just tossed together a quick top-like monitoring script for your pf
> firewalls.  It displays the output of "pfctl -s info" at one second
> intervals (by default).  It does not accept any user input... just
> ctrl-C to quit.
> 
> Enjoy!
> -J.
> 
> Usage:
> pftop [delay in seconds]
> 
> Script:
> #!/usr/bin/perl
> 
> my $delay = $ARGV[0];
> $delay = int($delay) || 1;
> 
> while (1) {
>         system("clear");
>         print "PFtop v 1.0 - J.Dixon - 2002.11.16\n";
>         system("pfctl -s info");
>         sleep $delay;
> }
> #EOF
> 
> 
> 
> 


Reply via email to