[ProcessTree]How to list process tree / 如何显示进程树
Linux:
pstree
Windows:
ProcessExplorer
or
PS script:https://gist.github.com/atifaziz/9390344
or
Get-WmiObject Win32_Process | Where {$_.Name -eq 'chrome.exe'} | Select ParentProcessId,@{N='ParentProcessName';E={(Get-Process -Id $_.ParentProcessId).Name}}