I would like to find out from a particular process what the current memory usage and cpu is at the point it is called, much like you see in the task manager process list.
But the process properties that are exposed for this action don't seem to include these two values (seems to have everything but these).
Am I looking in the right place to do this action?
We’re using the Win32_Process wmi class to get the process info, unfortunately it doesn’t support getting the cpu usage. You will have to resort to some VBScript to get the info you want. Here’s a page that shows how :