From 10a438d4e0700bf75a0b84c866d1d80b2d720e63 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 6 May 2005 17:16:24 +0000 Subject: [PATCH] include nice and wait times in Combined --- bindings/java/src/net/hyperic/sigar/CpuPerc.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/java/src/net/hyperic/sigar/CpuPerc.java b/bindings/java/src/net/hyperic/sigar/CpuPerc.java index 2c51a633..bc599a4c 100644 --- a/bindings/java/src/net/hyperic/sigar/CpuPerc.java +++ b/bindings/java/src/net/hyperic/sigar/CpuPerc.java @@ -61,7 +61,7 @@ public class CpuPerc { } public double getCombined() { - return this.user + this.sys; + return this.user + this.sys + this.nice + this.wait; } public static String format(double val) {