return listEvents("iid="+iid,"timestamp>="+startdt +" " +"timestamp<="+enddt,0);
}
public int getEventCount(final Long iid) throws ManagementException {
EventInfo einfo = getInstanceInfo(iid).getInstanceInfo().getEventInfo();
if (einfo == null)
return 0;
return einfo.getCount();
}