Charlotte Oliver wrote:
> 
> Additionally, if you're looking for a particular process, you could do:
> 
> ps -aux | grep "processname"
> 
> That will limit the output only to the particular thing you're looking
> for, but will show all instances of it.

Of course if you are on Linux you could do:

my @pids = `ps -C processname -o pid` =~ /\d+/g;



John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to