Need some code example how to monitor specific application

I am lazy enough ;-) to search Google. I need some code example or idea how to watch/monitor and kill particular application on server machine. I do remember there was some API functions like GetWindow/CloseWindow or something like that.

.NET code example will work too.

Thanks everybody

Comments

  • : I am lazy enough ;-) to search Google. I need some code example or idea how to watch/monitor and kill particular application on server machine. I do remember there was some API functions like GetWindow/CloseWindow or something like that.
    :
    : .NET code example will work too.
    :
    : Thanks everybody
    :
    I was wromg about subject of monitoring. I need to monitor process not application ... In other words something like Task Manager ...
  • It would be very easy to do this using Microsoft Powershell (Free command line).

    check it out!


    [blue][italic][b]/WEBMASTER[/b][/italic][/blue]

  • : It would be very easy to do this using Microsoft Powershell (Free command line).
    :
    : check it out!
    :
    :
    : [blue][italic][b]/WEBMASTER[/b][/italic][/blue]
    :
    :
    I will check it but I am not familiar with this. We need to run killing process automatically every night. Is it possible to do that using Powershell?
  • : : It would be very easy to do this using Microsoft Powershell (Free command line).
    : :
    : : check it out!
    : :
    : :
    : : [blue][italic][b]/WEBMASTER[/b][/italic][/blue]
    : :
    : :
    : I will check it but I am not familiar with this. We need to run killing process automatically every night. Is it possible to do that using Powershell?
    :
    that should be possible I think. Us the Windows scheulder to call a script each night.


    see
    http://computerperformance.co.uk/powershell/powershell_function.htm
    http://computerperformance.co.uk/powershell/powershell_process.htm


    [blue][italic][b]/WEBMASTER[/b][/italic][/blue]

  • : : : It would be very easy to do this using Microsoft Powershell (Free command line).
    : : :
    : : : check it out!
    : : :
    : : :
    : : : [blue][italic][b]/WEBMASTER[/b][/italic][/blue]
    : : :
    : : :
    : : I will check it but I am not familiar with this. We need to run killing process automatically every night. Is it possible to do that using Powershell?
    : :
    : that should be possible I think. Us the Windows scheulder to call a script each night.
    :
    :
    : see
    : http://computerperformance.co.uk/powershell/powershell_function.htm
    : http://computerperformance.co.uk/powershell/powershell_process.htm
    :
    :
    : [blue][italic][b]/WEBMASTER[/b][/italic][/blue]
    :
    :
    Thanks for your help and info. I found very easy way to do that using VB.NET. It's just a few lines of code. However, I will check/try PowerShell anyway.
  • : : : : It would be very easy to do this using Microsoft Powershell (Free command line).
    : : : :
    : : : : check it out!
    : : : :
    : : : :
    : : : : [blue][italic][b]/WEBMASTER[/b][/italic][/blue]
    : : : :
    : : : :
    : : : I will check it but I am not familiar with this. We need to run killing process automatically every night. Is it possible to do that using Powershell?
    : : :
    : : that should be possible I think. Us the Windows scheulder to call a script each night.
    : :
    : :
    : : see
    : : http://computerperformance.co.uk/powershell/powershell_function.htm
    : : http://computerperformance.co.uk/powershell/powershell_process.htm
    : :
    : :
    : : [blue][italic][b]/WEBMASTER[/b][/italic][/blue]
    : :
    : :
    : Thanks for your help and info. I found very easy way to do that
    : using VB.NET. It's just a few lines of code. However, I will
    : check/try PowerShell anyway.
    :
    hi...you mentioned that you have found a way to monitor the event using VB.NET.
    I am trying to develop an interface agent that monitors some events. so can you please help me with that.
    thanks
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories