weikang_Hu_9799
Sep 27, 2007Nimbostratus
Something about the Statistics for Virtual
Hi :
I am try to get the statistics for some virtual servers.
Here is my partial codes . It works but the icontrol return 28 values . Can someone help to tell me what's the meaning for each value ? Thanks ..
Actaully, my purpose is draw a plot for virtual server's throughput by each..(any suggestion is welcome)
public String GetVsName() throws Exception {
String[] Server_Names = m_binding.get_list();
iControl.LocalLBVirtualServerVirtualServerStatistics
Statistics_list = m_binding.get_statistics(Server_Names);
iControl.LocalLBVirtualServerVirtualServerStatisticEntry[] StatEntry = Statistics_list.getStatistics();
for (int j=0;j{
iControl.CommonStatistic[] commonstat= StatEntry[j].getStatistics();
iControl.CommonVirtualServerDefinition name= StatEntry[j].getVirtual_server();
System.out.println("VS_Name:="+name.getName());
// Here is the code to return 28 values //
for (int k=0;k {
System.out.println(commonstat[k].getValue().getLow());
}
}