<div dir="ltr"><div>Solaris and swap is tricky to nail down, specifically because different commands will report different values, by calculating the values in different ways.<br></div><div>You need to choose your commands carefully, depending on what value you need to know.<br>
</div><div><div><br>This might help explain things.<br><a href="http://www.f3partners.com/blog/bid/49584/Solaris-Swap-Q-A">http://www.f3partners.com/blog/bid/49584/Solaris-Swap-Q-A</a><br><br></div><div>It all becomes rather fuzzy when you consider what ZFS is doing in your memory.<br>
<br></div><div>Also, in a zone, all bets are off.<br></div><div>Caps in particular, on memory or swap, can completely muddy the water.<br></div><div>All the checks within the zone, will show the max available as being the capped value.<br>
</div><div>However when you interrogate the kernel for amount free, it returns what the kernel can see. And the kernel can see everything, because it exists in the global zone.<br></div><div><br></div><div>Regards<br></div>
<div>Vernon<br></div><div><br></div><div>P.S. WARNING: Thinking too hard about this can cause your brain to melt. :)<br></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 27 June 2013 00:38, Gore, David W (David) <span dir="ltr"><<a href="mailto:david.gore@verizon.com" target="_blank">david.gore@verizon.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">Wed Jun 26 16:26:48 GMT 2013 - Memory low<u></u><u></u></p>
<p class="MsoNormal">   Memory              Used       Total  Percentage<u></u><u></u></p><p class="MsoNormal">yellow Physical          23355M      24576M         95%<u></u><u></u></p><p class="MsoNormal">green Swap                106M      35913M          0%<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">From the client data:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">[swap]<u></u><u></u></p><p class="MsoNormal">total: 18459352k bytes allocated + 3036456k reserved = 21495808k used, 32308920k available<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I would expect to see the 21495808k used number?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Where is it getting the 106M number?  Anyone else seen this on Solaris?  <span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p>
<span class="HOEnZb"><font color="#888888"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">~David<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></font></span></div></div><br>_______________________________________________<br>

Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div>
</div>