View Single Post

   
  #4 (permalink)  
Old 01-05-2008, 10:47 AM
Hemant Shah
 
Posts: n/a
Default Re: How to find out if process is in a loop?

While stranded on information super highway Jurjen Oskam wrote:
> On 2006-11-10, Hemant Shah <shah@typhoon.xnet.com> wrote:
>
>> Is there a way to find out if the process is in an infinite loop?

>
> For a random process, no, there's no way to find out.
>
> For a particular process (of which you have the source code), there
> might be a way: check the code for possible infinite loops. Note
> that there are loops which may be infinite, but there's no way to
> tell for sure.


I have the source code, and the problem occurs when programmer
makes change to the application and runs it. The programmer may not monitor
the program so as sys admin I want to be able to catch it before it affects
other users.

>
> --
> Jurjen Oskam


--
Hemant Shah /"\ ASCII ribbon campaign
E-mail: NoJunkMailshah@xnet.com \ / ---------------------
X against HTML mail
TO REPLY, REMOVE NoJunkMail / \ and postings
FROM MY E-MAIL ADDRESS.
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind, Above opinions are mine only.
it's backed up on tape somewhere. Others can have their own.
Reply With Quote