in reply to Re: How to obtain current child process name?
in thread How to obtain current child process name?

Hi, Thanx for the reply. I am able to obtain the child PID. But i am not able to figure out the process name from child PID.I am interested in its process name.
  • Comment on Re^2: How to obtain current child process name?

Replies are listed 'Best First'.
Re^3: How to obtain current child process name?
by happy.barney (Friar) on Nov 30, 2009 at 07:08 UTC
      I have gone through GTop, but i dont find any method to find out the child process name given its pid. Can you please specify the method?
        use GTop; my @line = @{ (GTop->new->proc_args ($$))[1] }; $\ = $, = "\n"; print @line;