Sorry, ignore the part about pstools :) On Mon, Oct 19, 2009 at 4:23 PM, Roman Zilber <[email protected]> wrote:
> There are free tools from MS. Pstools > > C:\.....>pslist.exe -e iexplore > > http://msdn.microsoft.com/en-us/library/aa394372%28VS.85%29.aspx > > strComputer = "." > Set objWMIService = GetObject("winmgmts:" _ > & "{impersonationLevel=impersonate}!\\" & strComputer & _ > "\root\cimv2") > Set colProcessList = objWMIService.ExecQuery _ > ("SELECT * FROM Win32_Process") > For Each objProcess in colProcessList > Wscript.Echo "Process: " & objProcess.Name > Wscript.Echo "Process ID: " & objProcess.ProcessID > Wscript.Echo "Thread Count: " & objProcess.ThreadCount > Wscript.Echo "Page File Size: " & objProcess.PageFileUsage > Wscript.Echo "Page Faults: " & objProcess.PageFaults > Wscript.Echo "Working Set Size: " & objProcess.WorkingSetSize > Next > > > > > > On Mon, Oct 19, 2009 at 10:51 AM, Lior <[email protected]> wrote: > >> >> Greetings all, >> >> can anyone help on how to get a certain process property from the >> windows task manager \ process list? >> "Mem Usage" for example, among others. >> >> Thanks! >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---
