public static servicegroup_stats get(nitro_service service, String servicegroupname) throws Exception{
		servicegroup_stats obj = new servicegroup_stats();
		obj.set_servicegroupname(servicegroupname);
		servicegroup_stats response = (servicegroup_stats) obj.stat_resource(service);
		return response;
	}
public static servicegroup_stats get ( nitro_service service , String servicegroupname ) throws Exception { servicegroup_stats obj = new servicegroup_stats ( ) ; obj . set_servicegroupname ( servicegroupname ) ; servicegroup_stats response = ( servicegroup_stats ) obj . stat_resource ( service ) ; return response ; }
Use this API to fetch statistics of servicegroup_stats resource of given name .