diff --git a/bindings/java/src/net/hyperic/sigar/cmd/CpuInfo.java b/bindings/java/src/net/hyperic/sigar/cmd/CpuInfo.java index 4ba522a9..84b221e5 100644 --- a/bindings/java/src/net/hyperic/sigar/cmd/CpuInfo.java +++ b/bindings/java/src/net/hyperic/sigar/cmd/CpuInfo.java @@ -62,10 +62,8 @@ public class CpuInfo extends SigarCommandBase { output(cpus[i]); } - if (infos.length > 1) { - println("Totals........"); - output(this.sigar.getCpuPerc()); - } + println("Totals........"); + output(this.sigar.getCpuPerc()); } public static void main(String[] args) throws Exception {