diff --git a/bindings/java/src/net/hyperic/sigar/cmd/CpuInfo.java b/bindings/java/src/net/hyperic/sigar/cmd/CpuInfo.java index 0f50609e..63c1f33a 100644 --- a/bindings/java/src/net/hyperic/sigar/cmd/CpuInfo.java +++ b/bindings/java/src/net/hyperic/sigar/cmd/CpuInfo.java @@ -9,6 +9,8 @@ import net.hyperic.sigar.SigarException; */ public class CpuInfo extends SigarCommandBase { + public boolean displayTimes = true; + public CpuInfo(Shell shell) { super(shell); } @@ -25,13 +27,12 @@ public class CpuInfo extends SigarCommandBase { net.hyperic.sigar.CpuInfo[] infos = this.sigar.getCpuInfoList(); - CpuPerc[] cpus = this.sigar.getCpuPercList(); + CpuPerc[] cpus = null; println(infos.length + " total CPUs.."); for (int i=0; i