cmd基础 tasklist 查看系统进程信息

  •        OS : Windows 10 Version 1909
  •        blog : blog.csdn.net/shiwanwu
  •  typesetting : Markdown

code

Microsoft Windows [版本 10.0.18363.592]
(c) 2019 Microsoft Corporation。保留所有权利。

C:\Users\Student>tasklist

映像名称                       PID 会话名              会话#       内存使用
========================= ======== ================ =========== ============
System Idle Process              0 Services                   0          8 K
System                           4 Services                   0        144 K
Registry                        96 Services                   0     78,368 K
smss.exe                       328 Services                   0      1,280 K
csrss.exe                      416 Services                   0      5,272 K
wininit.exe                    492 Services                   0      7,008 K
csrss.exe                      500 Console                    1      5,212 K
winlogon.exe                   564 Console                    1     11,672 K
services.exe                   636 Services                   0      9,312 K
lsass.exe                      660 Services                   0     15,404 K
svchost.exe                    760 Services                   0      4,068 K
svchost.exe                    788 Services                   0     25,472 K
fontdrvhost.exe                808 Services                   0      3,204 K
fontdrvhost.exe                816 Console                    1      7,412 K
svchost.exe                    896 Services                   0     13,252 K
svchost.exe                    952 Services                   0      8,344 K
dwm.exe                       1020 Console                    1    100,704 K
svchost.exe                    484 Services                   0      7,952 K
svchost.exe                    804 Services                   0      5,588 K
svchost.exe                   1060 Services                   0      6,088 K
svchost.exe                   1072 Services                   0     10,724 K
svchost.exe                   1080 Services                   0     12,372 K
svchost.exe                   1144 Services                   0     15,148 K
svchost.exe                   1204 Services                   0     12,024 K
svchost.exe                   1248 Services                   0      7,724 K
svchost.exe                   1312 Services                   0     18,540 K
svchost.exe                   1344 Services                   0     10,296 K
vmacthlp.exe                  1392 Services                   0      6,676 K
svchost.exe                   1440 Services                   0     11,580 K
svchost.exe                   1500 Services                   0      8,060 K
svchost.exe                   1516 Services                   0      7,532 K
svchost.exe                   1552 Services                   0      9,360 K
svchost.exe                   1560 Services                   0     13,264 K
svchost.exe                   1580 Services                   0      5,968 K
svchost.exe                   1612 Services                   0      7,728 K
Memory Compression            1752 Services                   0         暂缺
svchost.exe                   1764 Services                   0      8,460 K
svchost.exe                   1852 Services                   0     11,480 K
svchost.exe                   1880 Services                   0      8,244 K
svchost.exe                   1912 Services                   0      7,920 K
svchost.exe                   1932 Services                   0      7,552 K
svchost.exe                   1296 Services                   0      8,768 K
svchost.exe                   1896 Services                   0     13,224 K
svchost.exe                   2088 Services                   0      6,488 K
svchost.exe                   2096 Services                   0      9,920 K
svchost.exe                   2152 Services                   0     12,652 K
svchost.exe                   2160 Services                   0      7,348 K
spoolsv.exe                   2312 Services                   0     15,092 K
svchost.exe                   2352 Services                   0     15,460 K
svchost.exe                   2428 Services                   0     19,852 K
svchost.exe                   2460 Services                   0      8,364 K
svchost.exe                   2596 Services                   0     10,444 K
svchost.exe                   2604 Services                   0      6,484 K
svchost.exe                   2612 Services                   0     25,364 K
svchost.exe                   2620 Services                   0     17,340 K
svchost.exe                   2636 Services                   0     17,028 K
svchost.exe                   2728 Services                   0      6,800 K
QQProtect.exe                 2736 Services                   0     18,392 K
svchost.exe                   2744 Services                   0      9,264 K
svchost.exe                   2756 Services                   0      5,756 K
VGAuthService.exe             2780 Services                   0     10,696 K
vmtoolsd.exe                  2792 Services                   0     24,004 K
MsMpEng.exe                   2812 Services                   0    128,792 K
svchost.exe                   2832 Services                   0     17,944 K
svchost.exe                   2840 Services                   0     13,428 K
svchost.exe                   2876 Services                   0      5,612 K
dasHost.exe                   2972 Services                   0     12,664 K
svchost.exe                   3104 Services                   0     12,224 K
dllhost.exe                   3340 Services                   0     13,292 K
dllhost.exe                   3496 Services                   0     13,688 K
svchost.exe                   3588 Services                   0      7,800 K
WmiPrvSE.exe                  3884 Services                   0     14,668 K
sihost.exe                    3976 Console                    1     25,564 K
svchost.exe                   4008 Console                    1     16,488 K
svchost.exe                   4080 Console                    1     43,448 K
svchost.exe                    656 Services                   0      7,360 K
svchost.exe                   1288 Services                   0      9,452 K
svchost.exe                   3448 Services                   0     12,076 K
taskhostw.exe                 3620 Console                    1     15,232 K
svchost.exe                   4264 Services                   0     20,816 K
svchost.exe                   4312 Services                   0     10,332 K
svchost.exe                   4448 Services                   0      6,464 K
ctfmon.exe                    4508 Console                    1     24,428 K
svchost.exe                   4620 Services                   0     15,548 K
NisSrv.exe                    4888 Services                   0     10,576 K
explorer.exe                  4908 Console                    1    118,620 K
msdtc.exe                     4980 Services                   0     10,356 K
ChsIME.exe                    5284 Console                    1     19,744 K
svchost.exe                   5392 Console                    1     17,036 K
dllhost.exe                   5556 Console                    1      6,928 K
VSSVC.exe                     5820 Services                   0      8,320 K
svchost.exe                   5884 Services                   0      7,076 K
StartMenuExperienceHost.e     5916 Console                    1     65,364 K
svchost.exe                   6044 Services                   0      7,420 K
RuntimeBroker.exe             4160 Console                    1     23,352 K
SearchUI.exe                  5276 Console                    1    139,344 K
RuntimeBroker.exe             6276 Console                    1     28,280 K
SearchIndexer.exe             6372 Services                   0     14,156 K
ApplicationFrameHost.exe      6440 Console                    1     30,492 K
MicrosoftEdge.exe             6448 Console                    1     66,744 K
SkypeBackgroundHost.exe       6540 Console                    1     10,144 K
SkypeApp.exe                  6568 Console                    1     39,236 K
browser_broker.exe            6808 Console                    1      8,612 K
dllhost.exe                   6872 Console                    1     11,336 K
RuntimeBroker.exe             6980 Console                    1      8,280 K
MicrosoftEdgeSH.exe           7084 Console                    1     13,604 K
MicrosoftEdgeCP.exe           7088 Console                    1     26,676 K
WindowsInternal.Composabl     7468 Console                    1     43,948 K
SearchProtocolHost.exe        7548 Services                   0      8,084 K
svchost.exe                   7624 Services                   0     18,732 K
SearchFilterHost.exe          7700 Services                   0      6,468 K
svchost.exe                   7780 Services                   0      6,820 K
svchost.exe                   7856 Services                   0     15,236 K
RuntimeBroker.exe             8024 Console                    1     16,288 K
backgroundTaskHost.exe        8144 Console                    1     31,180 K
svchost.exe                   7264 Services                   0     11,824 K
svchost.exe                   3568 Services                   0      7,628 K
RuntimeBroker.exe             2980 Console                    1     20,612 K
smartscreen.exe               7400 Console                    1     21,832 K
SecurityHealthSystray.exe     7824 Console                    1      8,952 K
SecurityHealthService.exe     5336 Services                   0     13,432 K
vmtoolsd.exe                  2472 Console                    1     37,412 K
OneDrive.exe                  8096 Console                    1     62,364 K
WmiPrvSE.exe                  5520 Services                   0     37,772 K
svchost.exe                   6620 Services                   0     19,568 K
svchost.exe                   6576 Services                   0      5,692 K
ChsIME.exe                    6632 Console                    1     15,908 K
audiodg.exe                   8236 Services                   0     11,856 K
svchost.exe                   8380 Services                   0     11,888 K
WmiApSrv.exe                  8492 Services                   0      8,772 K
backgroundTaskHost.exe        8936 Console                    1     31,020 K
backgroundTaskHost.exe        8992 Console                    1     27,268 K
RuntimeBroker.exe             9108 Console                    1     10,392 K
RuntimeBroker.exe             9152 Console                    1     21,628 K
RuntimeBroker.exe             7140 Console                    1     18,728 K
WinStore.App.exe              7792 Console                    1    119,592 K
coredpussvr.exe               8328 Console                    1      9,480 K
cmd.exe                        356 Console                    1      4,012 K
conhost.exe                    508 Console                    1     21,108 K
tasklist.exe                  1568 Console                    1      8,616 K

C:\Users\Student>

more knowledge


C:\Users\Student>tasklist /?

TASKLIST [/S system [/U username [/P [password]]]]
         [/M [module] | /SVC | /V] [/FI filter] [/FO format] [/NH]

描述:
    该工具显示在本地或远程机器上当前运行的进程列表。


参数列表:
   /S     system           指定连接到的远程系统。

   /U     [domain\]user    指定应该在哪个用户上下文执行这个命令。

   /P     [password]       为提供的用户上下文指定密码。如果省略,则
                           提示输入。

   /M     [module]         列出当前使用所给 exe/dll 名称的所有任务。
                           如果没有指定模块名称,显示所有加载的模块。

   /SVC                    显示每个进程中主持的服务。

   /APPS 显示 Microsoft Store 应用及其关联的进程。

   /V                      显示详细任务信息。

   /FI    filter           显示一系列符合筛选器
                           指定条件的任务。

   /FO    format           指定输出格式。
                           有效值: "TABLE""LIST""CSV"。

   /NH                     指定列标题不应该
                           在输出中显示。
                           只对 "TABLE""CSV" 格式有效。

   /?                      显示此帮助消息。

筛选器:
    筛选器名称     有效运算符           有效值
    -----------     ---------------           --------------------------
    STATUS          eq, ne                    RUNNING | SUSPENDED
                                              NOT RESPONDING | UNKNOWN
    IMAGENAME       eq, ne                    映像名称
    PID             eq, ne, gt, lt, ge, le    PID 值
    SESSION         eq, ne, gt, lt, ge, le    会话编号
    SESSIONNAME     eq, ne                    会话名称
    CPUTIME         eq, ne, gt, lt, ge, le    CPU 时间,格式为
                                              hh:mm:ss。
                                              hh - 小时,
                                              mm - 分钟,ss - 秒
    MEMUSAGE        eq, ne, gt, lt, ge, le    内存使用(以 KB 为单位)
    USERNAME        eq, ne                    用户名,格式为
                                              [域\]用户
    SERVICES        eq, ne                    服务名称
    WINDOWTITLE     eq, ne                    窗口标题
    模块         eq, ne                    DLL 名称

注意: 当查询远程计算机时,不支持 "WINDOWTITLE""STATUS"
      筛选器。

Examples:
    TASKLIST
    TASKLIST /M
    TASKLIST /V /FO CSV
    TASKLIST /SVC /FO LIST
    TASKLIST /APPS /FI "STATUS eq RUNNING"
    TASKLIST /M wbem*
    TASKLIST /S system /FO LIST
    TASKLIST /S system /U 域\用户名 /FO CSV /NH
    TASKLIST /S system /U username /P password /FO TABLE /NH
    TASKLIST /FI "USERNAME ne NT AUTHORITY\SYSTEM" /FI "STATUS eq running"

C:\Users\Student>

resource

  • [ doc - cmd ] docs.microsoft.com/zh-cn/windows-server/administration/windows-commands/windows-commands
  • [ doc - OS] docs.microsoft.com/zh-cn/windows
  • [ msdn ] msdn.microsoft.com/zh-cn
  • [ 平台 ] www.csdn.net


感恩曾经帮助过 师万物 的人。
cmd能执行普通任务、命令简单和启动速度快,建议学习。
学有余力的话,可以了解一下PowerShell、PowerShell Core和Linux Shell。

发布了126 篇原创文章 · 获赞 16 · 访问量 6万+

猜你喜欢

转载自blog.csdn.net/shiwanwu/article/details/104203045
今日推荐