Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 18011
Number of posts: 55384

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Need some code example how to monitor specific application Posted by lionb on 15 Mar 2007 at 6:15 AM
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
Report
Re: Need some code example how to monitor specific application Posted by lionb on 15 Mar 2007 at 6:54 AM
: 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 ...
Report
Re: Need some code example how to monitor specific application Posted by WEBMASTER on 15 Mar 2007 at 6:59 AM
It would be very easy to do this using Microsoft Powershell (Free command line).

check it out!


/WEBMASTER

Report
Re: Need some code example how to monitor specific application Posted by lionb on 15 Mar 2007 at 7:26 AM
: It would be very easy to do this using Microsoft Powershell (Free command line).
:
: check it out!
:
:
: /WEBMASTER
:
:
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?
Report
Re: Need some code example how to monitor specific application Posted by WEBMASTER on 15 Mar 2007 at 11:47 AM
: : It would be very easy to do this using Microsoft Powershell (Free command line).
: :
: : check it out!
: :
: :
: : /WEBMASTER
: :
: :
: 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


/WEBMASTER

Report
Re: Need some code example how to monitor specific application Posted by lionb on 15 Mar 2007 at 11:58 AM
: : : It would be very easy to do this using Microsoft Powershell (Free command line).
: : :
: : : check it out!
: : :
: : :
: : : /WEBMASTER
: : :
: : :
: : 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
:
:
: /WEBMASTER
:
:
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.
Report
Re: Need some code example how to monitor specific application Posted by Yosra on 10 Feb 2009 at 7:33 PM
: : : : It would be very easy to do this using Microsoft Powershell (Free command line).
: : : :
: : : : check it out!
: : : :
: : : :
: : : : /WEBMASTER
: : : :
: : : :
: : : 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
: :
: :
: : /WEBMASTER
: :
: :
: 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



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.