How to use cmd command "tasklist" to list all processes and it;s cpu usage?

elsonwx picture elsonwx · Aug 25, 2015 · Viewed 17.2k times · Source

I want to list all processes and it's cpu usage, Can the "tasklist" command acheive?enter image description here

I want to list Image Name,PID,and CPUUsage througn cmd command like this, but it has no cpu usage

enter image description here

Answer

Stephan picture Stephan · Aug 25, 2015

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)