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?
...
Jun 17, 2005
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
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
