I want to find the processor time (as shown in the task manager) using the command line script. I used typeperf to get% Utilization, but I'm not sure how to get the CPU time, not%. One option that I can think of is to find out the total process time, and then use% to find out the processor time, but again the next question: how to find the total uptime for the process.
Any help / pointers would be appreciated.
Thanks Ashutosh
source share