On Thu 20 Jul 2006 18:41, Gregory Machin wrote:
> I'm a beginner but I'll hav a go ..
>
>
> ! pmacct: In + Out
> !
> debug: false
> daemonize: true
> interface: eth0
> plugin_buffer_size: 2048
> plugin_pipe_size: 2048000
> plugins: memory
> aggregate[traffic]: src_port,dst_port
> aggregate_filter[traffic]:  src_net 10.11.12.0/23
> aggregate_filter[traffic]:  dst_net 10.11.12.0/23
> pidfile: /var/run/pmacctd.pid
>
> then retrieve the results via
>
> pmacct -c src_port,dst_port -N "*,80;80,*" -S -r
> should give the total for the inbound and outboun traffic on port 80 for
> the ip rang 10.11.12.0/23 only ...
> Let me know if it works ..

Hi Grey.

This will of course work, however thats not the point. What I want to do is to 
be query for certain subsets of existing data without having to create a new 
config each time.

I am doing this currently using Posgresql however an in memory table would be 
much faster as my postgres table contains historical data for the last 6 
months and is therefore several orders of magnitude slower :-)

Thanks for your efforts though :-)

Cheers

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc

Attachment: pgp9sYoUzWYLa.pgp
Description: PGP signature

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to