Operating System - HP-UX
1753882 Members
7683 Online
108809 Solutions
New Discussion юеВ

Perl script for NT processes

 
SOLVED
Go to solution
Jason Berendsen
Regular Advisor

Perl script for NT processes

I need a perl script that will output a list of processes on an NT machine to a file. I know this is easy in HP-UX, so of course this doesn't seem to hold true in the Microsoft world. Does any know where I could find a sample script that lists NT processes?

Thanks
3 REPLIES 3
Karthik S S
Honored Contributor
Solution

Re: Perl script for NT processes

you can make use of the "ps" utility that comes along with the resource kit
for UNIX style listing of processes.
-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Michael Schulte zur Sur
Honored Contributor

Re: Perl script for NT processes

Hi,

look at this:
http://patriot.net/~carvdawg/perl.html

greetings,

Michael
H.Merijn Brand (procura
Honored Contributor

Re: Perl script for NT processes

Late, I know, but there is wonderful module you could install in your perl tree: Proc::ProcessTable (http://search.cpan.org/~durist/Proc-ProcessTable-0.39/)

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn