always print totals for comparision
This commit is contained in:
parent
c94556a2e0
commit
88ea672ba6
@ -62,10 +62,8 @@ public class CpuInfo extends SigarCommandBase {
|
|||||||
output(cpus[i]);
|
output(cpus[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (infos.length > 1) {
|
println("Totals........");
|
||||||
println("Totals........");
|
output(this.sigar.getCpuPerc());
|
||||||
output(this.sigar.getCpuPerc());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
|
Loading…
Reference in New Issue
Block a user