From 430962a988d21558ccf4b1f8678233dfb3a4b746 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 16 Dec 2005 20:14:11 +0000 Subject: [PATCH] if -jar, use the jar name since no classname will be specified --- bindings/java/src/net/hyperic/sigar/cmd/Ps.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/bindings/java/src/net/hyperic/sigar/cmd/Ps.java b/bindings/java/src/net/hyperic/sigar/cmd/Ps.java index 5f261de0..99bdf972 100644 --- a/bindings/java/src/net/hyperic/sigar/cmd/Ps.java +++ b/bindings/java/src/net/hyperic/sigar/cmd/Ps.java @@ -138,12 +138,15 @@ public class Ps extends SigarCommandBase { String[] args = sigar.getProcArgs(pid); for (int i=1; i