[jbossnative-commits] JBoss Native SVN: r1057 - trunk/sight/examples/org/jboss/sight.

jbossnative-commits at lists.jboss.org jbossnative-commits at lists.jboss.org
Fri Sep 28 08:12:16 EDT 2007


Author: jfrederic.clere at 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();




More information about the jbossnative-commits mailing list