From e34bbcfa2dab2fbbfe845a60f2c4218556e1bf9f Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 10 May 2005 16:48:23 +0000 Subject: [PATCH] args fixup --- bindings/java/src/net/hyperic/sigar/test/Proxy.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bindings/java/src/net/hyperic/sigar/test/Proxy.java b/bindings/java/src/net/hyperic/sigar/test/Proxy.java index 2ee86556..006fe99f 100644 --- a/bindings/java/src/net/hyperic/sigar/test/Proxy.java +++ b/bindings/java/src/net/hyperic/sigar/test/Proxy.java @@ -310,9 +310,12 @@ public class Proxy { if (type.startsWith("Proc")) { arg = this.pids.getName(iter); } - else if (type.startsWith("NetIf")) { + else if (type.startsWith("Net")) { arg = this.netif.getName(iter); } + else if (type.startsWith("MultiProc")) { + arg = "State.Name.eq=java"; + } else if (type.equals("FileSystemUsage") || type.equals("MountedFileSystemUsage")) { @@ -323,7 +326,7 @@ public class Proxy { { arg = this.files.getName(iter); } - else if (type.equals("DirStats")) { + else if (type.equals("DirStat")) { arg = this.dirs.getName(iter); } else {