[padb] r392 committed - Repair the ps command line so it doesn't display a header and hence is...

padb at googlecode.com padb at googlecode.com
Wed Feb 17 21:00:27 GMT 2010


Revision: 392
Author: apittman
Date: Wed Feb 17 13:00:01 2010
Log: Repair the ps command line so it doesn't display a header and hence is  
easier
to parse.

http://code.google.com/p/padb/source/detail?r=392

Modified:
  /trunk/src/padb

=======================================
--- /trunk/src/padb	Tue Feb 16 14:13:21 2010
+++ /trunk/src/padb	Wed Feb 17 13:00:01 2010
@@ -2937,7 +2937,7 @@

      #get ps from the leading host(the one that start mpirun.lsf)
      my @handle =
-      slurp_remote_cmd( $host, "ps -o pid=,ppid=,cmd= -u $target_user" );
+      slurp_remote_cmd( $host, "ps -o pid= -o ppid= -o cmd= -u  
$target_user" );

      $count_line = @handle;
      for ( my $i = 0 ; $i < $count_line ; $i++ ) {    # to avoid loop




More information about the padb-devel mailing list