WMI Process monitoring issue

WMI Process monitoring issue

We've run into a small issue regarding WMI monitoring of some process information.  We'd like to monitor thread counts of a specific process on a server.  This worked great at first, but unfortunately there are now multiple instances of that process being run with different CLI arguments.  In adding a normal process monitor, I can see all 6 of the processes and their arguments so I can tell which is which, but when I try to add a WMI process\thread count monitor through the WMI interface in OpManager, it only shows me a single instance of the process name.  Perfmon on the server itself shows all 6 as process.exe, process.exe#2, process.exe#3, etc.

For example, we might have instances of the same exe running as such:

process.exe initfile1.ini
process.exe initfile1.ini /MDAA
process.exe initfile2.ini

Is there any workaround to this?  Alternatively, is there any sort of option yet to use a externally written vbs or batch file as the source for a counter?  With a little work, I could probably figure out some way to extract just the data I'm looking for through vbs.










                  New to ADSelfService Plus?