Forum Discussion
Jason_Bender_10
Nimbostratus
Mar 14, 2005STATISTIC_HTTP_GET_REQUEST
I can get this to display anything after building pool.exe and running. It is listed in the locallbpoolmembers.cs file. Is there a special parameter I have to run to get this statistic?
Thanks
Jason
14 Replies
- As I mentioned, is there anyway you can modify the code to print the Low and High values from the ULong64 structure in the code? That way we can determine if it is a bug in the client processing or the data itself.
-Joe - Jeff_MacDonald_
Nimbostratus
mmm... I'm not really a programmer, I just took the sample code compiled it and ran it as is. Is getting the Lo/Hi values relatively straightforward? - Here you go. Just replace the getVSStats() method in the VSStatsMain.cs file with the following and recompile:
void getVSStats(string [] vs_list) { VirtualServer.LocalLBVirtualServerVirtualServerStatistics vs_stats = VirtualServer.get_statistics(vs_list); for(int i=0; i { VirtualServer.CommonVirtualServerDefinition vs_def = vs_stats.statistics.virtual_server; Console.WriteLine("Virtual Server: '" + vs_def.name + "' (" + vs_def.address.ToString() + ":" + vs_def.port.ToString() + ")"); VirtualServer.CommonStatistic [] stats_list = vs_stats.statistics.statistics; for(int j=0; j { Console.WriteLine("--> " + stats_list[j].type + " : " + build64(stats_list[j].value) + "(" + stats_list[j].value.high + "," + stats_list[j].value.low + ")"); } } }
I've just modified the Console.WriteLine value to output the 64bit value as well as the low and high values).
-Joe - Jeff_MacDonald_
Nimbostratus
Thanks Joe,
Here's 4 runs about 2-3 minutes apart showing big jumps
Virtual Server: 'xxx.com' (xxx.xxx.xxx.xxx:80)
--> STATISTIC_MINIMUM_CONNECTION_DURATION : 2582(0,2582)
--> STATISTIC_MEAN_CONNECTION_DURATION : 27098(0,27098)
--> STATISTIC_MAXIMUM_CONNECTION_DURATION : 780853074(0,780853074)
--> STATISTIC_NO_NODE_ERRORS : 0(0,0)
--> STATISTIC_CLIENT_SIDE_BYTES_IN : 671857233897(156,1842335721)
--> STATISTIC_CLIENT_SIDE_BYTES_OUT : 3076539451405(716,1342867469)
--> STATISTIC_CLIENT_SIDE_PACKETS_IN : 18446744072487619913(0,-1221931703)
--> STATISTIC_CLIENT_SIDE_PACKETS_OUT : 18446744072638931336(0,-1070620280)
--> STATISTIC_CLIENT_SIDE_CURRENT_CONNECTIONS : 23964(0,23964)
--> STATISTIC_CLIENT_SIDE_MAXIMUM_CONNECTIONS : 71873(0,71873)
--> STATISTIC_CLIENT_SIDE_TOTAL_CONNECTIONS : 194376355(0,194376355)
Virtual Server: 'xxx.com' (xxx.xxx.xxx.xxx:80)
--> STATISTIC_MINIMUM_CONNECTION_DURATION : 150(0,150)
--> STATISTIC_MEAN_CONNECTION_DURATION : 43947(0,43947)
--> STATISTIC_MAXIMUM_CONNECTION_DURATION : 780853074(0,780853074)
--> STATISTIC_NO_NODE_ERRORS : 0(0,0)
--> STATISTIC_CLIENT_SIDE_BYTES_IN : 18446744071604784125(156,-2104767491)
--> STATISTIC_CLIENT_SIDE_BYTES_OUT : 18446744072349762255(716,-1359789361)
--> STATISTIC_CLIENT_SIDE_PACKETS_IN : 18446744072489229563(0,-1220322053)
--> STATISTIC_CLIENT_SIDE_PACKETS_OUT : 18446744072640594867(0,-1068956749)
--> STATISTIC_CLIENT_SIDE_CURRENT_CONNECTIONS : 23519(0,23519)
--> STATISTIC_CLIENT_SIDE_MAXIMUM_CONNECTIONS : 71873(0,71873)
--> STATISTIC_CLIENT_SIDE_TOTAL_CONNECTIONS : 194505129(0,194505129)
Virtual Server: 'xxx.com' (xxx.xxx.xxx.xxx:80)
--> STATISTIC_MINIMUM_CONNECTION_DURATION : 497(0,497)
--> STATISTIC_MEAN_CONNECTION_DURATION : 54600(0,54600)
--> STATISTIC_MAXIMUM_CONNECTION_DURATION : 780853074(0,780853074)
--> STATISTIC_NO_NODE_ERRORS : 0(0,0)
--> STATISTIC_CLIENT_SIDE_BYTES_IN : 18446744071895611102(156,-1813940514)
--> STATISTIC_CLIENT_SIDE_BYTES_OUT : 18446744073695325095(716,-14226521)
--> STATISTIC_CLIENT_SIDE_PACKETS_IN : 18446744072490576340(0,-1218975276)
--> STATISTIC_CLIENT_SIDE_PACKETS_OUT : 18446744072641990417(0,-1067561199)
--> STATISTIC_CLIENT_SIDE_CURRENT_CONNECTIONS : 23716(0,23716)
--> STATISTIC_CLIENT_SIDE_MAXIMUM_CONNECTIONS : 71873(0,71873)
--> STATISTIC_CLIENT_SIDE_TOTAL_CONNECTIONS : 194611862(0,194611862)
Virtual Server: 'xxx.com' (xxx.xxx.xxx.xxx:80)
--> STATISTIC_MINIMUM_CONNECTION_DURATION : 50717(0,50717)
--> STATISTIC_MEAN_CONNECTION_DURATION : 30575(0,30575)
--> STATISTIC_MAXIMUM_CONNECTION_DURATION : 780853074(0,780853074)
--> STATISTIC_NO_NODE_ERRORS : 0(0,0)
--> STATISTIC_CLIENT_SIDE_BYTES_IN : 18446744072058862822(156,-1650688794)
--> STATISTIC_CLIENT_SIDE_BYTES_OUT : 3080240404678(717,748853446)
--> STATISTIC_CLIENT_SIDE_PACKETS_IN : 18446744072491333143(0,-1218218473)
--> STATISTIC_CLIENT_SIDE_PACKETS_OUT : 18446744072642777456(0,-1066774160)
--> STATISTIC_CLIENT_SIDE_CURRENT_CONNECTIONS : 23493(0,23493)
--> STATISTIC_CLIENT_SIDE_MAXIMUM_CONNECTIONS : 71873(0,71873)
--> STATISTIC_CLIENT_SIDE_TOTAL_CONNECTIONS : 194670702(0,194670702)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
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
