memory leaks - Performance Monitor Trigger Another Program -


i trying use windows server 2008 performance counter monitor 1 of long running process.

i able setup datacollector >> \process\private bytes collect performance data (memory usage). wondering whether can setup threshold in performance counter , use trigger 1 local program. in case long running program consumes memory server, trigger windows script shut down.

i realize lame way of dealing memory leaking problem, feasible solution now.

1) in windows performance monitor 1.1) data collector sets >> create new user defined data collector set (choose option created manually (advanced))

enter image description here

1.2) type of data want include ? >> performance counter alert

1.3) add performance counter list (in case, process >> private bytes >> choose running process called xxxx)

enter image description here

1.4) click ok create such performance monitor

when condition of performance counter has met, write event log entry in case event log id 2031.

1.5) attach task event, in case, choose run program when event id 2031 logged

enter image description here

the following article has helped me :

perfmon counters check memory leak


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -