Package org.stagemonitor.os.metrics

Examples of org.stagemonitor.os.metrics.SwapMetricSet


    if (sigar == null) {
      sigar = newSigar();
    }
    metricRegistry.registerAll(init(new CpuMetricSet(sigar, sigar.getCpuInfoList()[0])));
    metricRegistry.registerAll(init(new MemoryMetricSet(sigar)));
    metricRegistry.registerAll(init(new SwapMetricSet(sigar)));
    for (String ifname : sigar.getNetInterfaceList()) {
      metricRegistry.registerAll(init(new NetworkMetricSet(ifname, sigar)));
    }
    @SuppressWarnings("unchecked")
    final Set<Map.Entry<String, FileSystem>> entries = (Set<Map.Entry<String, FileSystem>>) sigar.getFileSystemMap().entrySet();
View Full Code Here

TOP

Related Classes of org.stagemonitor.os.metrics.SwapMetricSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.