in reply to get name of process with pid
(untested)
use Proc::ProcessTable; my $procs = Proc::ProcessTable->new; foreach ($procs->table) { if ($_->pid = $required_pid) { print $_->cmndline; last; } }
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
---|