tldr/pages.zh/windows/tasklist.md

25 lines
604 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# tasklist
> 显示本地或远程计算机上当前正在运行的进程的列表。
> 更多信息:<https://docs.microsoft.com/windows-server/administration/windows-commands/tasklist>.
- 显示当前正在运行的进程:
`tasklist`
- 使用指定的格式显示当前进程列表:
`tasklist /fo {{table|list|csv}}`
- 已匹配的方式(.exe, .dll显示当前运行的进程
`tasklist /m {{匹配模式}}`
- 显示在远程计算机上运行的进程:
`tasklist /s {{远程主机名}} /u {{用户名}} /p {{密码}}`
- 显示每个进程中的服务信息:
`tasklist /svc`