Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Check if a process is running on Windows

by mrpeabody (Friar)
on Jun 14, 2004 at 18:36 UTC ( [id://366656]=note: print w/replies, xml ) Need Help??


in reply to Check if a process is running on Windows

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?)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://366656]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-25 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found