code: 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;
  	}
docs: Use this API to fetch statistics of servicegroup_stats resource of given name .