in reply to
Call shell script in Perl
you may want to look up
Proc::ProcessTable
and skip the shell stuff entirely.. you could probably count processes by fname..
Update:
Bah, so late...
Comment on
Re: Call shell script in Perl
In Section
Seekers of Perl Wisdom