Forum Discussion
6 Replies
Sort By
- I take your "current global connections for a node" to mean the connection metrics for a Node Address:
- Jon_Bartlett_10Historic F5 AccountYep - I looked through the sdk and searched devcentral before I posted. In the example from the sdk, I do not see current connections, just high and low ~ maybe I just don't see it. I saw some examples for 4.5 and in C but I am not sure how to apply these for version 9.2.3 in perl.
- Did you run the sample against your device and look at the output? Here's what I just got from running the sample:
NODE 10.10.10.149 Session Status : SESSION_STATUS_ENABLED Enabled State : STATE_ENABLED Monitor Status : MONITOR_STATUS_UNCHECKED Availability : AVAILABILITY_STATUS_BLUE Connection Limit : 0 Ratio : 1 Statistics : STATISTIC_SERVER_SIDE_BYTES_IN : 2812080 STATISTIC_SERVER_SIDE_BYTES_OUT : 23441694 STATISTIC_SERVER_SIDE_PACKETS_IN : 34505 STATISTIC_SERVER_SIDE_PACKETS_OUT : 40234 STATISTIC_SERVER_SIDE_CURRENT_CONNECTIONS : 10 STATISTIC_SERVER_SIDE_MAXIMUM_CONNECTIONS : 12 STATISTIC_SERVER_SIDE_TOTAL_CONNECTIONS : 5760 ...
- Amrit_Lalli_952Nimbostratus(note i am using php)
- The statistics are returned as 64 bit numbers. Since the type encoding on SOAP doesn't support 64 bit numbers, we had to create a structure with the low and high 32 bit values in the resulting 64 bit number.
((64bittype)value.high<<32)|(64bittype)value.low;
C: ulong value64 = ((ulong)value.high<<32)|(ulong)value.low; Perl: $value64 = Math::BigInt->new(Math::BigInt->new($high)->blsft(32))->bxor($low);
- Amrit_Lalli_952NimbostratusAh!, I understand now.