(RADIATOR) Acct-Output-Octets and values larger than 4Gb

Brian Morris brian at netspeed.com.au
Wed Feb 2 16:38:29 CST 2005


Hi Folks,

I am trying to record the number of bytes (or Mb) downloaded by our broadband customers but Acct-Output-Octets loops back to zero once the customer has downloaded more than 4Gb in a session (unsigned integer limit).

We also receive ERX attributes Unisphere-Output-Gigapackets and Unisphere-Output-Gigawords but  these are defined as integer values so I am assuming they only report the number of whole Gigs.

So I am looking for a way of recording the number of Mb downloaded with some accuracy better than whole Gb when the user has downloaded more than 4Gb...

I guess one method would be to calculate it based on a formula something like TotalMb = (((gigawords div 4)+acctoutputoctets)/1000000)

But is there a better way???

Regards,

Brian Morris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.open.com.au/pipermail/radiator/attachments/20050203/1111cdc8/attachment.html>


More information about the radiator mailing list