首页 >> 知识 >> Windows 10 taskList 命令详解

Windows 10 taskList 命令详解

首页Windows 指令Windows CMD 命令Windows 10 taskList命令详解下一上一

Windows 10 taskList命令详解

显示本地或远程计算机上,目录正在运行的进程列表。

基本用法   详细用法

taskList

基本语法

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

选项参数

参数EN 解释中文翻译备注/S systemSpecifies the remote system to connect to.指定要连接的远程系统。/U [domain]userSpecifies the user context under which the command should execute.指定命令应在其下执行的用户上下文。/P [password]

Specifies the password for the given user context.

Prompts for input if omitted.

指定给定用户上下文的口令。

提示输入,若省略。

/M [module]

Lists all tasks currently using the given exe/dll name.

If the module name is not specified all loaded modules are displayed.

列表目前使用给定 exe/dll 名称的所有任务。

若不指定模块名称,显示所有加载模块。

/SVCDisplays services hosted in each process.显示每进程所托管的服务。/APPSDisplays Store Apps and their associated processes.显示商店 App 及其关联进程。仅限 Windows 8 10/VDisplays verbose task information.显示冗余任务信息。/FI filterDisplays a set of tasks that match a given criteria specified by the filter.显示匹配通过过滤器指定的给定条件的一组任务。/FO format

Specifies the output format.

Valid values: "TABLE", "LIST", "CSV".

指定输出格式。

有效值:TABLE LIST CSV

/NH

Specifies that the "Column Header" should not be displayed in the output.

Valid only for "TABLE" and "CSV" formats.

指定在输出中,不应显示列标题。

仅对 TABLE 和 CSV 格式有效。

/?Displays this help message.显示此帮助消息。

Filters 参数

过滤器名称有效运算符有效值中文翻译备注STATUSeq, ne

RUNNING | SUSPENDED

NOT RESPONDING | UNKNOWN

运行 | 暂停

没有响应 | 未知

IMAGENAMEeq, neImage name映像名称PIDeq, ne, gt, lt, ge, lePID valuePID 值SESSIONeq, ne, gt, lt, ge, leSession number会话编号SESSIONNAMEeq, neSession name会话名称CPUTIMEeq, ne, gt, lt, ge, le

CPU time in the format of hh:mm:ss.

hh - hours, mm - minutes, ss - seconds

采用 hh:mm:ss 格式的 CPU 时间。

hh - 小时,mm - 分钟,ss - 秒

MEMUSAGEeq, ne, gt, lt, ge, leMemory usage in KB内存使用量 (以 KB 为单位)USERNAMEeq, neUser name in [domain]user format采用 [domain]user 格式的用户名SERVICESeq, neService name服务名称WINDOWTITLEeq, neWindow title窗口标题MODULESeq, neDLL nameDLL 名称

注意:WINDOWTITLE 和 STATUS 过滤器不被支持,当查询远程计算机时。

基本用法

功能命令文字解释备注帮助taskList /?展示帮助信息服务taskList /SVC /FO LIST列表所有进程映像名称 PID 服务过滤taskList /APPS /FI "STATUS eq RUNNING"展示所有正运行的应用商店 APP 关联进程信息仅限 Windows 8 10taskList /FI "USERNAME ne NT AUTHORITYSYSTEM" /FI "STATUS eq running"展示所有非 NT AUTHORITYSYSTEM 用户的正运行进程信息模块taskList /M展示所有进程名称 PID 模块名taskList /M wbem*展示以 wbem 开头的模块名远程taskList /S system /FO LIST列表远程 system 系统进程信息taskList /S system /U domainusername /FO CSV /NH以 CSV 格式展示远程 system 系统,域用户名的进程信息taskList /S system /U username /P password /FO TABLE /NH以指定口令表格展示远程 system 系统,用户名的进程信息查看taskList展示所有进程名称 PID 会话名 会话编号 内存使用量taskList /V /FO CSV以 CSV 格式详细展示所有进程名称 PID 会话名 会话编号 内存使用量 状态 用户名 CPU时间 窗口标题

 

版权

网站地图