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

Look at GTop
  • Comment on Re^3: How to obtain current child process name?

Replies are listed 'Best First'.
Re^4: How to obtain current child process name?
by sneha_heda (Initiate) on Nov 30, 2009 at 08:07 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;