Answer the question
In order to leave comments, you need to log in
Prompt a program to monitor the consumption of resources by programs (Windows)
There is the following system. On a remote Windows server (Server 2008 R2), rather resource-intensive processes are periodically launched in several instances (from one executable). Number of copies from 1 to 20-30 can be at the same time. One process can eat up to 1 GB of RAM and a decent amount of CPU (~1 GHz, so to speak).
Processes are started, work off minutes 30 and are closed. Upon request from the remote system, new ones are launched.
The next task is to measure the resource consumption of each process and the total system load. Ideally, the program you are looking for sends an email / sms when the resource consumption is exceeded, but at least it just keeps a log for itself with the ability to view.
A standard Windows monitor is not suitable (neither the task manager nor the system monitor - the latter cannot monitor different instances of the same executable, and pick up newly launched ones, or am I not able to cook it?)
Answer the question
In order to leave comments, you need to log in
Just PerfMon approaches. Not so long ago, under Win7, I set it up to monitor all java machines (including newly launched ones), it worked perfectly.
There is such utility PsList
Also read this subject. There, in my opinion, it just describes how to log process data.
There is another solution, but it is cumbersome - the Zabbix monitoring system, it can, in principle, collect everything that needs to be collected, and then send notifications, as well as keep a log and build graphs.
Spiceworks + community.spiceworks.com/plugin/324
Free and easy. Easier than zabbix, for sure, but of course not so flexible.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question