Forum Discussion
Anders_Conbere_
Nimbostratus
Jun 18, 2009Traffic numbers different from comand line and statistics API
I'm new to this, and I suspect a unit mismatch, but I can't quite get these two numbers to reconcile.
(from the command line)
+-> SERVER ***.*** SERVICE http
| PVA acceleration none
| (cur, max, limit, tot) = (354, 18737, 0, 258.0M)
| (pkts,bits) in = (5.430G, 7.842T), out = (7.729G, 75.42T)
| requests (total) = 229.8M
(from pyControl)
{
"time_stamp": 0,
"type": "STATISTIC_CLIENT_SIDE_BYTES_IN",
"value": {
"high": 228,
"low": 1033448801
}
},
{
"time_stamp": 0,
"type": "STATISTIC_CLIENT_SIDE_BYTES_OUT",
"value": {
"high": 2195,
"low": 682140862
}
},
so to compress some of this information
ComandLine
in: 7.842 Tb
out: 75.42 Tb
PyControl
in: 1033448801 B (~0.00751 Tb)
out: 682140862 B (~0.00496 Tb)
So I guess my question is, should I not expect those numbers to add up and still trust that the delta's over time on the statistics are correct?
Thanks!
~ Anders
- hwidjaja_37598
Altostratus
STATISTIC_CLIENT_SIDE_BYTES_IN and STATISTIC_CLIENT_SIDE_BYTES_OUT are 64bit values. You'll see two 32bit values (high and low). What you need to do is to construct a 64bit value from these two 32bit values:
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects