<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: #606420; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: #606420; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=#606420 link=blue>
<DIV dir=ltr align=left><SPAN class=759532017-29012008><FONT face=Arial
color=#0000ff size=2>You could write a custom script to do this easily (you'd
need to remember state, but that's easy). I'm not aware of any built-in
Hobbit check that would do this however. Maybe somebody else
knows.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=759532017-29012008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=759532017-29012008><FONT face=Arial
color=#0000ff size=2>Other things to consider trying (using standard Hobbit
stuff):</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=759532017-29012008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=759532017-29012008><FONT face=Arial
color=#0000ff size=2>When the process restarts, does it do anything in a
logfile? i.e., could you have Hobbit search for a restart text message in
a logfile? Is the logfile deleted and recreated at restart? You
could have Hobbit check the timestamp on the logfile possibly. When the
process restarts, does it write it's PID to a file? Check the timestamp of
that PID file.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Moore, Paul
[mailto:Paul.Moore@verizonbusiness.com] <BR><B>Sent:</B> Tuesday, January 29,
2008 8:03 AM<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> [hobbit] Process ID
Tracking.<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Is hobbit capable of tracking the
PID of a process that it is watching for? I am in need of identifying if a
process restarts with a new process id. Several of our applications are
self healing but we still need notification that this did indeed restart.
Any suggestions would be helpful.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Paul
Moore<BR><BR></SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV></BODY></HTML>