Hello,
I would need to monitor resources (cpu usage, mem usage, etc) of 4 processes that are started by 4 different .exe files, having the same name. Eg:
Filename: File.exe --> Processname: File
Filename: File.exe --> Processname: File#1
Filename: File.exe --> Processname: File#2
Filename: File.exe --> Processname: File#3
Since the 4 .exe files have the same name, their window processes are numbered starting from "File" until "File#3". In this way, I can monitor them through Performance Counters. Unfortunately, this is valid unless the processes are restarted in a different order (eg: due to a server restart or a manual activity). In this way, the mapping above is not valid anymore. Same issue monitoring them by PID number (it is random and changes after a server restart or a manual process restart).
Do you have any idea how to do this? The only solution I see is to have unique filename so that also their processes will have unique names), but this is not possible at the moment.
Thank you very much for your help
Daniele
I would need to monitor resources (cpu usage, mem usage, etc) of 4 processes that are started by 4 different .exe files, having the same name. Eg:
Filename: File.exe --> Processname: File
Filename: File.exe --> Processname: File#1
Filename: File.exe --> Processname: File#2
Filename: File.exe --> Processname: File#3
Since the 4 .exe files have the same name, their window processes are numbered starting from "File" until "File#3". In this way, I can monitor them through Performance Counters. Unfortunately, this is valid unless the processes are restarted in a different order (eg: due to a server restart or a manual activity). In this way, the mapping above is not valid anymore. Same issue monitoring them by PID number (it is random and changes after a server restart or a manual process restart).
Do you have any idea how to do this? The only solution I see is to have unique filename so that also their processes will have unique names), but this is not possible at the moment.
Thank you very much for your help
Daniele