Page 1 of 1

Cpu usage under dos

Posted: 01 Sep 2010 04:38
by karzer
Hi,
How dos can see the cpu usage? Cpu usage with taskmgr.exe in the interface looks, but I need to see under dos, so I can write the script.

thank you

Re: Cpu usage under dos

Posted: 01 Sep 2010 07:24
by jeb
Not the way like taskMgr.exe shows it, but you can use it too.

Code: Select all

tasklist /v


shows the usage in cpu-time, so to get the percental value, you have to call it periodically.