Is there a command equivalent to 'ps' on Unix that can list all processes on a Windows machine?
+1
A:
If you running windows XP try using the 'tasklist' command. I tried it out with Vista and it seems to also work.
Marcel Tjandraatmadja
2008-09-10 05:52:48
+5
A:
There is a tool called Windows Management Instrumentation Command-line tool (wmic.exe).
You can call "wmic process list" to see all processes.
Paulius Maruška
2008-09-10 05:56:27
Neat! It gives the full path of the executable and and lots of other information.
Vulcan Eager
2008-09-10 06:17:52
+5
A:
tasklist or pslist from sysinternals. Also, get-process is amazing from PowerShell.
Hafthor
2008-09-10 05:57:55
+1
A:
If you use Powershell, it has the 'ps' command (it is aliased to Get-Process)
John Channing
2008-09-10 07:48:12
+2
A:
I wanted to mention that WMIC (pam's entry) can do a lot more. Have a look at my WMIC snippets page, which is a cheatsheet showing many of the common ways to use WMIC (with sample output shown):
quux
2008-09-15 09:53:20
A:
Tasklist
WMIC /OUTPUT:C:\ProcessList.txt PROCESS get Caption,Commandline,Processid
or
WMIC /OUTPUT:C:\ProcessList.txt path win32_process get Caption,Processid,Commandline
Ali
2010-02-15 08:06:57