[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}}

 

posted @ 2019-08-05 17:41  夜歌乘年少  阅读(648)  评论(0编辑  收藏  举报