output ProcCpu instead of ProcTime
This commit is contained in:
parent
b224421cc4
commit
118b86824d
|
@ -94,7 +94,7 @@ public class ProcInfo extends SigarCommandBase {
|
||||||
println("mem=" + sigar.getProcMem(pid));
|
println("mem=" + sigar.getProcMem(pid));
|
||||||
} catch (SigarException e) {}
|
} catch (SigarException e) {}
|
||||||
try {
|
try {
|
||||||
println("time=" + sigar.getProcTime(pid));
|
println("cpu=" + sigar.getProcCpu(pid));
|
||||||
} catch (SigarException e) {}
|
} catch (SigarException e) {}
|
||||||
try {
|
try {
|
||||||
println("cred=" + sigar.getProcCred(pid));
|
println("cred=" + sigar.getProcCred(pid));
|
||||||
|
|
Loading…
Reference in New Issue