Changeset 28825 for trunk/tools/czartool/Pantasks.pm
- Timestamp:
- Aug 2, 2010, 11:06:32 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/tools/czartool/Pantasks.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/czartool/Pantasks.pm
r28785 r28825 113 113 if ($line =~ m/Scheduler is running/) {${$running} = 1; ${$alive}=1;last;} 114 114 if ($line =~ m/Task Status/) {last;} 115 116 115 } 117 116 } … … 125 124 my ($self, $server) = @_; 126 125 127 128 126 my @cmdOut = `echo "status;quit" | pantasks_client -c ~ipp/$server/ptolemy.rc 2>&1`; 129 127 my $line; 130 128 my $passedHeader=0; 129 print "\n"; 131 130 foreach $line (@cmdOut) { 132 131 133 chomp($line);134 132 if ($line =~ m/.*Task Status.*/) {$passedHeader=1;next;} 135 if ($passedHeader){print "$line <br>";}133 if ($passedHeader){print "$line";} 136 134 } 137 135 }
Note:
See TracChangeset
for help on using the changeset viewer.
