Hi, pmacct gives you absolute counters and time reference. Say, between 02:00 and 02:05 there have been 1GB transferred. So, while i confirm pmacct can't give you the counters how you need them, you can easily derive them. My recommendation would be to handle this post-processing data output by pmacct, probably what you meant with your #2 option.
Paolo On Thu, May 11, 2017 at 08:33:31PM +0300, Black.S wrote: > Hello all > I'm nube in pmacct and network analyze. > I want to analyze network content in my local network. I want to get > traffic by flow: > - bw/packet count per hour > - arithmetic average, median, quartile of bw/packet count > > Can I get its metrics by pmacct ? > I look to tcpdump but it also cant have some filters. > > I have two ways > 1) edit and add code to pmacct (it take some time for understand pmacct) > 2) write script for pmacct or tcpdump (low performance) > > Which way is right ? > Can pmacct get me my metrics ? > > Thanks for you time > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
