Windows Process Info

2004-09-09 Thread Patrick B Cromer

Is there a way to get information on a Windows process other than using Win32::Process::Info?
Currently, there is a memory leak when using the Info module (see perl bug #33499).
While the bug will be fixed in the next version of ActivePerl I am not sure that upgrading to a new version
will be possible on the servers we are running. 

Specifically, the two pieces of information needed are the parent process of a process and the creation time
of a process. Any solution short of an external subroutine or a process external to Perl would be appreciated.___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: Windows Process Info

2004-09-09 Thread cchupela

Win32::PerfLib, maybe?

I know you can get the PID and the start time of a process.  No listing in
perfmon for parent process, but 'creating process id' is listed. Maybe that
gives you what you need.

I think the author has some examples at http://www.bybyte.de/jmk

hope that helps

Chris







   
 
Patrick B Cromer 
 
[EMAIL PROTECTED]   To: [EMAIL 
PROTECTED] 
Sent by:  cc:  
 
[EMAIL PROTECTED]   Subject: Windows Process Info  
   
eState.com 
 
   
 
   
 
09/09/2004 01:41 PM
 
   
 
   
 





Is there a way to get information on a Windows process other than using
Win32::Process::Info?
Currently, there is a memory leak when using the Info module (see perl bug
#33499).
While the bug will be fixed in the next version of ActivePerl I am not sure
that upgrading to a new version
will be possible on the servers we are running.

Specifically, the two pieces of information needed are the parent process
of a process and the creation time
of a process.  Any solution short of an external subroutine or a process
external to Perl would be appreciated.
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs





___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: Windows Process Info

2004-09-09 Thread Sisyphus
Patrick B Cromer wrote:
Is there a way to get information on a Windows process other than using 
Win32::Process::Info?
Currently, there is a memory leak when using the Info module (see perl bug 
#33499).
While the bug will be fixed in the next version of ActivePerl I am not 
sure that upgrading to a new version
will be possible on the servers we are running. 

If it's simply a matter of installing the latest version of the module, 
then you can grab it from CPAN and install it. The module requires no 
compilation, so you could install it with 'perl makefile.pl', 'nmake 
test' and 'nmake install' - or by simply copying the '.pm' files to the 
appropriate location (not recommended).

Cheers,
Rob
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs