首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >查看流程树- tlist/tasklist

查看流程树- tlist/tasklist
EN

Stack Overflow用户
提问于 2012-06-30 05:24:15
回答 2查看 35.9K关注 0票数 12

windows xp开始,tlist命令被tasklist命令取代。

旧的tlist命令具有选项\t,该选项允许查询父进程/子进程关系。

tasklist中是否存在类似的选项

谢谢

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2012-08-10 02:49:05

我想你想要的是:

代码语言:javascript
复制
tasklist /SVC

如果这没有帮助,那么我建议使用Process Explorer。它是一个显示所有父进程和子进程的程序。

这是官方链接:http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

票数 10
EN

Stack Overflow用户

发布于 2018-09-20 17:40:43

你也可以试试

代码语言:javascript
复制
tasklist /M

它会给你这样的结果:

代码语言:javascript
复制
BESClientUI.exe               4296 ntdll.dll, wow64.dll, wow64win.dll,
                                   wow64cpu.dll
SynTPHelper.exe               2216 N/A
sihost.exe                    9340 ntdll.dll, KERNEL32.DLL, KERNELBASE.dll,
                                   msvcrt.dll, combase.dll, ucrtbase.dll,
                                   RPCRT4.dll, bcryptPrimitives.dll,
                                   sechost.dll, advapi32.dll,
                                   CoreMessaging.dll, ntmarta.dll,

您还可以对其进行过滤

代码语言:javascript
复制
tasklist /M /FI "xxx"

其中,作为xxx,您可以指定过滤器参数

代码语言:javascript
复制
Filters:
    Filter Name     Valid Operators           Valid Value(s)
    -----------     ---------------           --------------------------
    STATUS          eq, ne                    RUNNING | SUSPENDED
                                              NOT RESPONDING | UNKNOWN
    IMAGENAME       eq, ne                    Image name
    PID             eq, ne, gt, lt, ge, le    PID value
    SESSION         eq, ne, gt, lt, ge, le    Session number
    SESSIONNAME     eq, ne                    Session name
    CPUTIME         eq, ne, gt, lt, ge, le    CPU time in the format
                                              of hh:mm:ss.
                                              hh - hours,
                                              mm - minutes, ss - seconds
    MEMUSAGE        eq, ne, gt, lt, ge, le    Memory usage in KB
    USERNAME        eq, ne                    User name in [domain\]user
                                              format
    SERVICES        eq, ne                    Service name
    WINDOWTITLE     eq, ne                    Window title
    MODULES         eq, ne                    DLL name

例如:

代码语言:javascript
复制
tasklist /M /FI "IMAGENAME eq explorer.exe"

它给了你一些类似的东西:

代码语言:javascript
复制
Image Name                     PID Modules
========================= ======== ============================================
explorer.exe                  9912 ntdll.dll, KERNEL32.DLL, KERNELBASE.dll,
                                   msvcrt.dll, combase.dll, ucrtbase.dll,
                                   RPCRT4.dll, bcryptPrimitives.dll,
                                   OLEAUT32.dll, msvcp_win.dll, shcore.dll,
                                   advapi32.dll, sechost.dll, powrprof.dll,
                                   user32.dll, win32u.dll, GDI32.dll,
                                   gdi32full.dll, shlwapi.dll,
                                   windows.storage.dll, kernel.appcore.dll,
                                   profapi.dll, FLTLIB.DLL, SHELL32.dll,
                                   cfgmgr32.dll, TWINAPI.dll, PROPSYS.dll,
                                   winmm.dll, settingsynccore.dll,
                                   UxTheme.dll, dwmapi.dll, SspiCli.dll,
                                   USERENV.dll, twinapi.appcore.dll,
                                   WININET.dll, WTSAPI32.dll,
                                   TextInputFramework.dll, WINMMBASE.dll,
                                   bcrypt.dll, cryptsp.dll, RMCLIENT.dll,
                                   CoreUIComponents.dll, CoreMessaging.dll,
                                   wintypes.dll, ntmarta.dll, IMM32.DLL,
票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11269165

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档