在cmd中,运行以下命令:
wmic process get processid,commandline
要筛选特定程序:
wmic process where "name like '%chrome%'" get processid,commandline
您可以查询进程的其他属性是:
- 字幕
- 命令行
- CreationClassName
- 创立日期
- CSCreationClassName
- CSName
- 描述
- ExecutablePath
- ExecutionState
- 处理
- HandleCount
- InstallDate
- KernelModeTime
- MaximumWorkingSetSize
- MinimumWorkingSetSize
- 名称
- OSCreationClassName
- OSNAME
- OtherOperationCount
- OtherTransferCount
- 页面错误
- PageFileUsage
- ParentProcessId
- PeakPageFileUsage
- PeakVirtualSize
- PeakWorkingSetSize
- 优先
- PrivatePageCount
- 的ProcessID
- QuotaNonPagedPoolUsage
- QuotaPagedPoolUsage
- QuotaPeakNonPagedPoolUsage
- QuotaPeakPagedPoolUsage
- ReadOperationCount
- ReadTransferCount
- SESSIONID
- 状态
- 终止日期
- THREADCOUNT
- UserModeTime
- VirtualSize
- Windows版本
- WorkingSetSize
- WriteOperationCount
- WriteTransferCount