APM: Win32 & Perl-- can I get the command line given to an executable from its pid?
Tim Peoples
tim at toolman.org
Thu Oct 13 06:31:57 PDT 2005
Unfortunately, I don't have a Win32 box handy to try this but...
ususally you can
simply modify $0 to accomplish this (at least on most modern *nix type
systems).
Have you tried that?
Tim.
Bill Raty wrote:
> Perl programs run under MSWindows appear in the task manager as
> 'perl'. Thus if you have two perl sources that are hogging CPU you
> can't tell which source is causing the problem.
>
> Are there any Win32::* or ActiveState libraries that can let me see
> which perl source is running? Other techniques?
>
> FYI-- SysInternal's Process Explorer has been suggested.
>
> Thanks,
>
> -Bill
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Austin mailing list
>Austin at pm.org
>http://mail.pm.org/mailman/listinfo/austin
>
--
_______________________________________________________________________
Timothy E. Peoples
Have Camel, Will Code
tim at toolman.org
More information about the Austin
mailing list