簡體   English   中英

在 Windows 中如何在 Windows 7 的命令提示符中獲取所有進程及其子進程信息

[英]In windows How get all process and their child process information in command prompt in windows 7

在 Windows 任務列表中是命令,但如何在 Windows 7 中列出正在運行的進程及其子進程

您可以使用以下方法獲取帶有 PID 和父 PID 的進程列表:

wmic process get Caption,ParentProcessId,ProcessId

給定父 PID,您可以使用以下內容列出直接子代:

wmic process where (ParentProcessId=2480) get Caption,ProcessId

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM