Author: jfrederic.clere(a)jboss.com
Date: 2007-09-28 08:12:16 -0400 (Fri, 28 Sep 2007)
New Revision: 1057
Modified:
trunk/sight/examples/org/jboss/sight/ListProcesses.java
Log:
Print the first argument too.
Modified: trunk/sight/examples/org/jboss/sight/ListProcesses.java
===================================================================
--- trunk/sight/examples/org/jboss/sight/ListProcesses.java 2007-09-28 09:03:39 UTC (rev
1056)
+++ trunk/sight/examples/org/jboss/sight/ListProcesses.java 2007-09-28 12:12:16 UTC (rev
1057)
@@ -46,7 +46,8 @@
p.State + " : " + p.BaseName +
" User(" + u.Name + ") Group(" +
g.Name +")" + "\t " +
- p.CurrentWorkingDirectory);
+ p.CurrentWorkingDirectory + "\t" +
+ p.Arguments[0]);
}
} catch (Exception e) {
e.printStackTrace();
Show replies by date