I could just adopt a dogmatic stance, and say, "My script, my choice". End of argument!<br>As true as this may be, all it will do is start a shell Jihad, and the last thing we need on this list is a religious war.<br>
<br>For a less dogmatic answer, I have found some "inconsistencies" with some versions of bash and sh which I don't like.<br>The most annoying one being that variables defined within some looping constructs are no longer defined once you exit the loop.<br>
But there are others.<br>That's my logical reason.<br><br>The other reason, is my comfort zone.<br>I worked for Sun Microsystems for a few years, mostly writing scripts to test the OS components. <br>To ensure complete portability over our entire fleet (which included Linux back then) everything was written in ksh.<br>
I got to know it well, and liked it. I am comfortable with it.<br>I always assert, write your code in whatever you are most comfortable with.<br><br>If you want to convert your version to run bash, go for it.<br>This is the joy of open source.<br>
<br>Regards <br>    Vernon<br><br><br><br><div class="gmail_quote">On Fri, Sep 10, 2010 at 2:03 AM, Jerald Sheets <span dir="ltr"><<a href="mailto:questy@gmail.com">questy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="word-wrap: break-word;"><div>Converting to BASH now...</div><div><br></div><div>(AIX?  HP/UX?  Why ksh?)</div><div><br></div><font color="#888888"><div>--j</div></font><div><div></div><div class="h5"><div><br>
</div><br><div><div>On Sep 9, 2010, at 1:49 PM, Steve Holmes wrote:</div><br><blockquote type="cite"><br><br><div class="gmail_quote">On Thu, Sep 9, 2010 at 1:56 AM, Vernon Everett <span dir="ltr"><<a href="mailto:everett.vernon@gmail.com" target="_blank">everett.vernon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


Hi all<br><br>Just posted an iostat add-on, with graphing goodness to <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><pre>
<a rel="nofollow" href="http://xymonton.trantor.org/doku.php/monitors:diskstat.ksh" target="_blank">http://xymonton.trantor.org/doku.php/monitors:diskstat.ksh</a><br><br>...<br><br>Regards<br>    Vernon<br><font size="1"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br>




</span></font></pre></span>
</blockquote></div>Vernon, thanks for this add on. It looks useful. However, I have installed it per the instructions and on the client it appears to be doing the right thing (both client and server are Solaris 10 and I'm running Xymon 4.2.3). <div>


<br></div><div>Does it take a while for the graphs to fill in? I've been waiting for a couple of hours and they show up as broken graphs on the trends page. Not empty graphs, but broken.  Does it matter that the SPLITNCV lines in hobbitgraph.cfg are the first ones I've added? <br>



<br clear="all">Thanks,</div><div>Steve<br>-- <br><br>
</div>
</blockquote></div><br></div></div></div></blockquote></div><br>