Get server memory informations

REST: GET /dedicated/server/{serviceName}/statistics/memory
@param serviceName [required] The internal name of your dedicated server
16388
public ArrayList<OvhRtmMemory> serviceName_statistics_memory_GET(String serviceName) throws IOException {
		String qPath = "/dedicated/server/{serviceName}/statistics/memory";
		StringBuilder sb = path(qPath, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t9);
	}
403404
public void serviceName_ipCanBeMovedTo_GET(String serviceName, String ip) throws IOException {
		String qPath = "/dedicated/server/{serviceName}/ipCanBeMovedTo";
		StringBuilder sb = path(qPath, serviceName);
		query(sb, "ip", ip);
		exec(qPath, "GET", sb.toString(), null);
	}
924408
public Instance get(String serviceName) {
        if (serviceName == null) {
            return null;
        }
        return get(serviceName, Strategy.roundRobin());
    }
628692
public OvhNetworkSpecifications serviceName_specifications_network_GET(String serviceName) throws IOException {
		String qPath = "/dedicated/server/{serviceName}/specifications/network";
		StringBuilder sb = path(qPath, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhNetworkSpecifications.class);
	}
519813
public ArrayList<OvhUkRegistrar> serviceName_ukRegistrars_GET(String serviceName) throws IOException {
		String qPath = "/domain/{serviceName}/ukRegistrars";
		StringBuilder sb = path(qPath, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t4);
	}
191183
public static nsmemory_stats[] get(nitro_service service) throws Exception{
		nsmemory_stats obj = new nsmemory_stats();
		nsmemory_stats[] response = (nsmemory_stats[])obj.stat_resources(service);
		return response;
	}
1215822
public OvhImage serviceType_imageName_GET(net.minidev.ovh.api.distribution.image.OvhService serviceType, String imageName) throws IOException {
		String qPath = "/distribution/image/{serviceType}/{imageName}";
		StringBuilder sb = path(qPath, serviceType, imageName);
		String resp = execN(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhImage.class);
	}
1088903
public ArrayList<String> cdn_dedicated_serviceName_cacheRule_GET(String serviceName, OvhOrderCacheRuleEnum cacheRule) throws IOException {
		String qPath = "/order/cdn/dedicated/{serviceName}/cacheRule";
		StringBuilder sb = path(qPath, serviceName);
		query(sb, "cacheRule", cacheRule);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t1);
	}
1112047
@Override
    public int getUsedCacheSize() {
        DCache cache = null;
        if (ServerCache.servletCacheEnabled) {
            cache = ServerCache.cache;
        }
        int size = -1;
        if (cache != null) {
            size = cache.getNumberCacheEntries();
        } else {
            // DYNA1059W=DYNA1059W: WebSphere Dynamic Cache instance named {0} cannot be used because of Dynamic Servlet cache service has not be started.
            Tr.error(tc, "DYNA1059W", new Object[] { DCacheBase.DEFAULT_CACHE_NAME });
        }
        return size;
    }
926930
public OvhService packName_serviceInfos_GET(String packName) throws IOException {
		String qPath = "/pack/xdsl/{packName}/serviceInfos";
		StringBuilder sb = path(qPath, packName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhService.class);
	}
410056
public ArrayList<OvhWindowsSqlVersionEnum> serviceName_license_compliantWindowsSqlServer_GET(String serviceName) throws IOException {
		String qPath = "/dedicated/server/{serviceName}/license/compliantWindowsSqlServer";
		StringBuilder sb = path(qPath, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t6);
	}
399681
public static csvserver_stats get(nitro_service service, String name) throws Exception{
		csvserver_stats obj = new csvserver_stats();
		obj.set_name(name);
		csvserver_stats response = (csvserver_stats) obj.stat_resource(service);
		return response;
	}
44527
private MBeanServer getServerForName(String name) {
        try {
            MBeanServer mbeanServer = null;
            final ObjectName objectNameQuery = new ObjectName(name + ":type=Service,*");

            for (final MBeanServer server : MBeanServerFactory.findMBeanServer(null)) {
                if (server.queryNames(objectNameQuery, null).size() > 0) {
                    mbeanServer = server;
                    // we found it, bail out
                    break;
                }
            }

            return mbeanServer;
        } catch (Exception e) {
        }

        return null;
    }
334153
public ArrayList<OvhStatsDataType> serviceName_statistics_GET(String serviceName, OvhStatsPeriodEnum period, OvhStatsTypeEnum type) throws IOException {
		String qPath = "/cdn/webstorage/{serviceName}/statistics";
		StringBuilder sb = path(qPath, serviceName);
		query(sb, "period", period);
		query(sb, "type", type);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t1);
	}
891869
def _get_server_name(self, handle, service_profile_mo, ucsm_ip):
        
        try:
            resolved_dest = handle.ConfigResolveDn(service_profile_mo.PnDn)
            server_list = resolved_dest.OutConfig.GetChild()
            if not server_list:
                return ""
            return server_list[0].Name
        except Exception as e:
            # Raise a Neutron exception. Include a description of
            # the original  exception.
            raise cexc.UcsmConfigReadFailed(ucsm_ip=ucsm_ip, exc=e)
803566
public long count(String serviceName, String dataStructureName, String methodName) {
        return ((LatencyProbeImpl) newProbe(serviceName, dataStructureName, methodName)).stats.count;
    }
1106751
public OvhDedicatedServer serviceName_dedicatedServer_dedicatedServer_GET(String serviceName, String dedicatedServer) throws IOException {
		String qPath = "/vrack/{serviceName}/dedicatedServer/{dedicatedServer}";
		StringBuilder sb = path(qPath, serviceName, dedicatedServer);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhDedicatedServer.class);
	}