Hello community. I hope you have an answer which clarifies my confusion about how to calculate the traffic in the right way. I am reading the bytes_received variable and want to calculate the traffic used. Now I read at least 5 articles about Kibibyte and Kilobyte stuff and when I thought I got it the other article tells something else.
My question is: Do I have to use binary basis (2^x) and divide by 1024 or decimal basis (10^x) and divide by 1000 to calculate the traffic from the bytes stored in the variable? Thank you for your help!
Traffic Calculation Confusion
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Traffic Calculation Confusion
Openvpn provides bytes .. Calculate your exponent as is appropriate to you ..claudi wrote:I am reading the bytes_received variable and want to calculate the traffic used. Now I read at least 5 articles about Kibibyte and Kilobyte stuff