Commit 97d1b2c0 authored by Quxl's avatar Quxl

x

parent 53589c29
...@@ -38,11 +38,10 @@ public class Usage { ...@@ -38,11 +38,10 @@ public class Usage {
private final Log logger = LogFactory.getLog(Usage.class); private final Log logger = LogFactory.getLog(Usage.class);
private Sigar sigar = null; private Sigar sigar = new Sigar();
public Usage() throws SigarException { public Usage() throws SigarException {
Sigar.load(); Sigar.load();
sigar = new Sigar();
} }
public Map<String, ?> get() { public Map<String, ?> get() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment