问题
I want to list all processes and it's cpu usage, Can the "tasklist" command acheive?
I want to list Image Name,PID,and CPUUsage througn cmd command like this, but it has no cpu usage
回答1:
use tasklist /v
.
You may want to set mode 240
before, or redirect output to a file:
tasklist /v >tasklist.txt
(sorry, tasklist
does not support selection of which properties to show; only "standard" view or "verbose" view)
来源:https://stackoverflow.com/questions/32195417/how-to-use-cmd-command-tasklist-to-list-all-processes-and-its-cpu-usage