From 118b86824dd5b8ebf7cdc880613444572b83e5b9 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sun, 11 Nov 2007 15:55:00 +0000 Subject: [PATCH] output ProcCpu instead of ProcTime --- bindings/java/src/org/hyperic/sigar/cmd/ProcInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/java/src/org/hyperic/sigar/cmd/ProcInfo.java b/bindings/java/src/org/hyperic/sigar/cmd/ProcInfo.java index 05a07673..ae63e5ca 100644 --- a/bindings/java/src/org/hyperic/sigar/cmd/ProcInfo.java +++ b/bindings/java/src/org/hyperic/sigar/cmd/ProcInfo.java @@ -94,7 +94,7 @@ public class ProcInfo extends SigarCommandBase { println("mem=" + sigar.getProcMem(pid)); } catch (SigarException e) {} try { - println("time=" + sigar.getProcTime(pid)); + println("cpu=" + sigar.getProcCpu(pid)); } catch (SigarException e) {} try { println("cred=" + sigar.getProcCred(pid));