}!\\" ++ strComputer ++ ?"\root\cimv2"
> local objWMIService = com.get_object(sWMIservice)
> 
> local colProcessMem = com.method(objWMIService, "ExecQuery", ;;+
>   "SELECT name, processid, workingsetsize from Win32_Process where name=\x22" 
> ++ sProcessName ++ "\x22")
> 
> win.debug(colProcessMem)
>   
> local processinfo, nWorkingSetSize
> for each processinfo in colProcessMem
>   win.debug(processinfo)
>  nWorkingSetSize = (processinfo.WorkingSetSize / 1024)
> ; break  ;; all okay if break instead of quitting
>   quit   ;; results in one unrleased handle per run of script

If the trace is not working, let me look at this as it may be a miss in the 
quit processing.  Give me till Wed EST



Reply via email to