always print totals for comparision
This commit is contained in:
1 parent
c94556a2e0
commit
88ea672ba6
1 file changed
+2
-4
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user