16

I know in Linux it's very useful the pstree command and something like that is what I'm looking for... but how to make a detailed process list (tree) on Windows terminal?

jww
  • 11,918
  • 44
  • 119
  • 208
AAlvz
  • 827
  • 3
  • 13
  • 21
  • have you tried with `top` or `ps auxf` maybe it's not what you're looking for, but combined with `pstree` you should get the information, if it's worth it to you, please let me know to make this an answer!! – poz2k4444 Jan 24 '13 at 18:31
  • 1
    oh, sorry I just read you're on windows...there is an app called `process monitor` that should do the trick... – poz2k4444 Jan 24 '13 at 18:33

3 Answers3

13

You could use a program called Process Monitor. This program allows you to do what you want.

Process Monitor is an advanced monitoring tool for Windows that shows real-time file system, Registry and process/thread activity. It combines the features of two legacy Sysinternals utilities, Filemon and Regmon, and adds an extensive list of enhancements including rich and non-destructive filtering, comprehensive event properties such session IDs and user names, reliable process information, full thread stacks with integrated symbol support for each operation, simultaneous logging to a file, and much more. Its uniquely powerful features will make Process Monitor a core utility in your system troubleshooting and malware hunting toolkit.

It also provides exactly what you want:

Process tree tool shows relationship of all processes referenced in a trace.

Lightness Races in Orbit
  • 3,066
  • 1
  • 20
  • 29
poz2k4444
  • 864
  • 14
  • 31
7

Use pslist64.exe -t from SysInternals.

not2qubit
  • 1,993
  • 4
  • 28
  • 35
  • This is useful for generating a list of processes on the command line that can be saved to a file or processed as text. – Anthony Geoghegan Feb 01 '21 at 23:58
  • As the OP asked for a command line tool, I guess this is the most appropriate answer. And also exactly what I was looking for when connecting to a remote Windows server via SSH to quickly see what processes are currently running. – CodeFox Dec 16 '21 at 11:56
3

Try Process Exporer from Sysinternals. It is like an advanced task manager, there is a tree view as well.

Rolf
  • 315
  • 3
  • 10
  • I was going to post this as an answer but you were here already so upvoted. I find the interface of *Process Explorer* to be more usable than *Process Monitor* for navigating the tree of processes. – Anthony Geoghegan Feb 02 '21 at 00:01