Memory usage of a specific process?

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
guido57
Posts: 5
Joined: Thu Feb 11, 2010 8:11 am

Memory usage of a specific process?

Post by guido57 »

Can the memory usage of a specific process be queried by HostMonitor?
I have seen PerformanceCounter, which gives overall system states, and Dominant Process which gives values of the dominant process.
Is it possible to get the values like in "Dominant Process" but for a named process?
Thanks for replies.
Guido
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You may use WMI or Performance Counter test methods
http://www.ks-soft.net/hostmon.eng/mfra ... ts.htm#wmi
http://www.ks-soft.net/hostmon.eng/mfra ... erfcounter

E.g. you may use Performance Counter test to check the following counter
\\hostname\Process(processname)\Working Set

or you may use WMI test and query like
select WorkingSetSize from Win32_Process where Caption='processname.exe'

Regards
Alex
guido57
Posts: 5
Joined: Thu Feb 11, 2010 8:11 am

Post by guido57 »

Thanks a lot!
The WMI approach works fine.

Guido
Post Reply