[flow-tools] flow-stat: maximum octets value?
Mark Fullmer
maf@eng.oar.net
Fri, 10 May 2002 11:40:42 -0400
The maximum value flow-stat can produce is 2^64-1. 2147483647 is
2^31-1 or a signed long on most systems. Make sure you're processing and
storing the values as 64 bit unsigned integers.
mark
On Wed, May 08, 2002 at 02:41:57PM +0200, Francois Dessart wrote:
> Hello,
>
> I use flow-stat to analyse daily statistics for some of my customers.
> The interesting information is the total in/out byte count.
> I then insert those values in a MySQL DB.
>
> Having a look on it, I find that the same value is occuring often: 2147483647.
>
> I think this problem is due to the maximum value the byte counter can take in flow-stat.
> How can I change this to permit greater values?
> In which source file?
>
>
> Thanks for your help.
>
> Francois.
>
>
>
> _______________________________________________
> flow-tools@splintered.net
> http://www.splintered.net/sw/flow-tools