Wrote a script a long time ago, in a contract far far away......<br>Went looking for it after my last posting, and I can't find it. :-(<br><br>From memory, it was very rough, and didn't really do much, besides provide visibility, and check state and error counts.<br>
I think the key information gathering command was something like this<br><span style="font-family: courier new,monospace;">fcinfo hba-port | grep "HBA Port WWN:" \<br>                | cut -d":" -f2 \<br>
                | while read WWN; do fcinfo hba-port -l $WWN; done</span><br>I bunged that into a temp file, and then did a little creative grepping for stuff like "State:" and "Current Speed:"<br>YMMV<br>
<br>If you want to collaborate on this one, I have a few spare cycles in my current contract.<br>If you are really busy, it looks interesting enough that I might just run with it :-)<br>(It may also be useful in my environment)<br>
<br>Cheers<br>     V<br><br><div class="gmail_quote">On Tue, Aug 10, 2010 at 10:04 AM, Vernon Everett <span dir="ltr"><<a href="mailto:everett.vernon@gmail.com">everett.vernon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What are you looking to know?<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Aug 9, 2010 at 10:14 PM, Kevin Kelly <span dir="ltr"><<a href="mailto:kkelly@lifetouch.com" target="_blank">kkelly@lifetouch.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal">Does anyone know of a script that monitors HBA in a Solaris
environment? Just thought I would check before I spend time on creating one.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Thanks in Advanced!</p>

<p class="MsoNormal">-Kevin</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

</div>

<br>
______________________________________________________________________<br>
This email has been scanned by the MessageLabs Email Security System.<br>
For more information please visit <a href="http://www.messagelabs.com/email" target="_blank">http://www.messagelabs.com/email</a> <br>
_____________________________________________________________________<br>
</div>


</blockquote></div><br>
</div></div></blockquote></div><br>