A Bit off the perl topic but you get pulist.exe and pstat.exe from the WinNT and 2000 Resource kit.

Or you can try this (Although it wont give you the Mem utilisation but it might be a start)... ALL CREDIT must go to Dave Roth whose site and books have become sacred to me..

# ProcList.pl # ----------- # This script will display the list of current processes along with # the process's PID and binary path. # Syntax: # perl ProcList.pl [Machine Name] # # Examples: # perl ProcTree # perl ProcTree.pl \\server # # 2002.01.20 rothd@roth.net # # Permission is granted to redistribute and modify this code as long + as # the below copyright is included. # # Copyright © 2002 by Dave Roth # Courtesty of Roth Consulting # http://www.roth.net/ use Win32::OLE qw( in ); use Win32::OLE::Variant; $Machine = "\\\\."; $Machine = shift @ARGV if( $ARGV[0] =~ /^\\\\/ ); # WMI Win32_Process class $CLASS = "winmgmts:{impersonationLevel=impersonate}$Machine\\Root\\cim +v2"; $WMI = Win32::OLE->GetObject( $CLASS ) || die; foreach my $Proc ( sort {lc $a->{Name} cmp lc $b->{Name}} in( $WMI->In +stancesOf( "Win32_Process" ) ) ) { printf( "% 5d) %s ", $Proc->{ProcessID}, "\u$Proc->{Name}" ); print "( $Proc->{ExecutablePath} )" if( "" ne $Proc->{ExecutablePath +} ); print "\n"; }

There are a ton of REALLY helpful admin scripts for the Win32 platform on his site

-----
Of all the things I've lost in my life, its my mind I miss the most.

In reply to Re: process status on windows by AcidHawk
in thread process status on windows by softworkz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.