open my $fh, "ps -ef | grep Jones |" or die; while (<$fh>) { my @F = split; next if $F [7] =~ /perl/ || $F [7] =~ /ps -ef/ || $F [7] =~ m{/bin/ksh}; print "@F[0,1,3,4,7]\n"; }
Abigail
In reply to Re: Trying to grab process output.
by Abigail-II
in thread Trying to grab process output.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |