在Windows上查找父进程ID [英] Finding parent process ID on Windows
本文介绍了在Windows上查找父进程ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
给定进程ID&在远程Windows主机上的命令行访问,如何找到其父级的PID?
Given a process ID & command-line access on a remote Windows host, how can you find its parent's PID?
Marc B的回答,我们可以使用WMIC(命令示例此处)和做这样的事情:
Given Marc B's answer, we can use WMIC (Command samples here) and do something like this:
wmic process where(processid = PROCID_HERE)get parentprocessid
推荐答案
C:\> wmic process get processid,parentprocessid,executablepath|find "process id goes here"
这篇关于在Windows上查找父进程ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文