NetXMS Support Forum

English Support => General Support => Topic started by: SmEed on December 12, 2014, 09:25:54 AM

Title: Monitor a running application
Post by: SmEed on December 12, 2014, 09:25:54 AM
Hello!

First, best thanks for this great tool!

But as a newbie, I unfortunately still have many problems, and hope you can help me.

I would like to monitor a running application.
But, this is no service, so System.ServiceState(*) does not help.
With the ProcessID I also get no further. Because this ID changes each time.

So my question:
Is there any solution for my problem?

Best regards!
;)
Title: Re: Monitor a running application
Post by: Alex Kirhenshtein on December 12, 2014, 10:54:39 AM
You can use Process.Count(*) or Process.CountEx(*) for that
Title: Re: Monitor a running application
Post by: SmEed on December 15, 2014, 10:55:08 AM
Perfect!

Thanks! ;)