<br><font size=2 face="sans-serif">I agree with Aaron response, but I would
make a very simple statement and solution. &nbsp;Repeatedly running things
at 15 minute intervals, when that may extend past 15 minutes just isn't
a good idea. &nbsp;Simply modify the batch file with a simple locking mechanism
that says if a flagfile exist, do not start, and if it doesn't exist, create
the flagfile and continue with your process, and finally remove the flagfile
at the end. &nbsp;In this way you will never fall into at least the quicksand,
I'm sure others are waiting though. &nbsp;This will automatically push
emailed reports to be every 30 minutes, or longer, if the 15 minute interval
is too short. &nbsp;Then, if you are not getting your reports often enough,
you can then at least look into why that is, but at least your 15 minute
cycle will not be part of the problem.</font>
<br><font size=2 face="sans-serif"><br>
---<br>
Rick Croote<br>
Software Engineer<br>
Environment and Tools Team<br>
Philips Medical Systems<br>
Bothell, WA<br>
Rick.Croote@Philips.com<br>
Phone: 425-487-7834<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td>
<br>
<br>
<br>
<br>
<br><font size=1 face="sans-serif"><b>Mike Alba &lt;michaelpalba@yahoo.com&gt;</b></font>
<p><font size=1 face="sans-serif">Sent by: </font>
<br><font size=1 face="sans-serif">spug-list-bounces@pm.org</font>
<p><font size=1 face="sans-serif">05/03/2005 03:27 PM</font>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To:
&nbsp; &nbsp; &nbsp; &nbsp;spug-list@pm.org</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc:
&nbsp; &nbsp; &nbsp; &nbsp;(bcc: Rick Croote/ATL-BTL/MS/PHILIPS)</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject:
&nbsp; &nbsp; &nbsp; &nbsp;SPUG: Perl Question?</font>
<p><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Classification:
&nbsp; &nbsp; &nbsp; &nbsp;</font>
<br>
<br></table>
<br>
<br>
<br><font size=2><tt>Hi,<br>
<br>
 &nbsp;I have a question regarding perl performance.<br>
I have batch file that executes the same perl<br>
program a few times but with different parameters.<br>
In other words there are different operations<br>
being performed, sql reports are generated from<br>
the database, files are moved around, files are<br>
emailled, etc. This batch runs every 15 minutes<br>
and occasionally there seems to be performance<br>
problems. The thinking was that maybe some of the<br>
perl calls are bumping into each other. For instance<br>
a database call may be taking longer then expected.<br>
Is there a way I can monitor this? When I have<br>
tried to duplicate this it seems that each perl<br>
call isnt made until the previous one finishes,<br>
from the batch file. Am I incorrect here and<br>
there might be other factors at play as far as<br>
why performance issues are occuring? Any tools<br>
available that I can use to monitor each running<br>
perl call? Also since it only happens intermittently<br>
I guess I am going to have to capture a lot of data?<br>
<br>
Thanks in advance for your help!!!<br>
<br>
__________________________________________________<br>
Do You Yahoo!?<br>
Tired of spam? &nbsp;Yahoo! Mail has the best spam protection around <br>
http://mail.yahoo.com <br>
_____________________________________________________________<br>
Seattle Perl Users Group Mailing List &nbsp;<br>
 &nbsp; &nbsp; POST TO: spug-list@pm.org<br>
SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list<br>
 &nbsp; &nbsp;MEETINGS: 3rd Tuesdays, Location: Amazon.com Pac-Med<br>
 &nbsp; &nbsp;WEB PAGE: http://seattleperl.org/<br>
</tt></font>
<br>