output ProcCpu instead of ProcTime

This commit is contained in:
Doug MacEachern 2007-11-11 15:55:00 +00:00
parent b224421cc4
commit 118b86824d
1 changed files with 1 additions and 1 deletions

View File

@ -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));