You can use Sysinternals PsList for this. See http://www.sysinternals.com/ntw2k/freeware/pstools.shtml.
PsList 1.22 - Process Information Lister Copyright (C) 1999-2002 Mark Russinovich Sysinternals - www.sysinternals.com Usage: pslist.exe [-d][-m][-x][-t][-s [n] [-r n] [\\computer [-u usern +ame][-p password][name|pid] -d Show thread detail. -m Show memory detail. -x Show processes, memory information and threads. -t Show process tree. -s [n] Run in task-manager mode, for optional seconds specifie +d. Press Escape to abort. -r n Task-manager mode refresh rate in seconds (default is 1 +). \\computer Specifies remote computer. -u Optional user name for remote login. -p Optional password for remote login. If you don't presen +t on the command line pslist will prompt you for it if ne +cessary. name Show information about specified process. pid Show information about specified process.
(OT, would it kill CODE tags to wrap at 80 columns instead of 70?)

In reply to Re: Check if a process is running on Windows by mrpeabody
in thread Check if a process is running on Windows by davidj

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.