<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 17, 2013 at 1:56 PM, Jesse Callaway <span dir="ltr"><<a href="mailto:bonsaime@gmail.com" target="_blank">bonsaime@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I'm also running the same kernel version and arch. But I get a couple more lines in my grep of sysctl:<div class="im">
<br><br>$ sysctl -a |fgrep -i swap<br></div>1 PART ada1p3 4294967296 512 i 3 o 244813153280 ty freebsd-swap xs GPT xt 516e7cb5-6ecf-11d6-8ff8-00022d09712b<br>
z0xfffffe00087beb00 [shape=box,label="SWAP\nswap\nr#3"];<br> <name>SWAP</name><br> <name>swap</name><br> <type>freebsd-swap</type><div class="im"><br>vm.swap_enabled: 1<br>
vm.nswapdev: 1<br>
vm.swap_async_max: 4<br></div>vm.swap_reserved: <a href="tel:2013835264" value="+12013835264" target="_blank">2013835264</a><br>vm.swap_total: 4294967296<div class="im"><br>vm.swap_idle_threshold2: 10<br>vm.swap_idle_threshold1: 2<br>
vm.stats.vm.v_swappgsout: 0<br>vm.stats.vm.v_swappgsin: 0<br>vm.stats.vm.v_swapout: 0<br>
vm.stats.vm.v_swapin: 0<br>vm.disable_swapspace_pageouts: 0<br>vm.defer_swapspace_pageouts: 0<br>vm.swap_idle_enabled: 0<br></div>$ uname -a<br>FreeBSD zip 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64<br>
<br><br></div>Dunno what the xml is from, not going to look now... but the vm.swap_reserved/total don't seem to show up in you sysctl output.<br><br><br></div></div><div class="gmail_extra"><div><div class="h5"><br><br>
<div class="gmail_quote">
On Tue, Sep 17, 2013 at 10:58 AM, Mark Saad <span dir="ltr"><<a href="mailto:mark.saad@ymail.com" target="_blank">mark.saad@ymail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
All<br>
Can someone shed some light on a OID mystery I have. I am using cacti<br>
to trend some snmp data off a bunch of FreeBSD servers.<br>
<br>
I noticed someone added a graph to a cluster for UCDavis - ssRawSwapIn /<br>
UCDavis - ssRawSwapOut . The OIDs are .1.3.6.1.4.1.2021.11.62 /<br>
.1.3.6.1.4.1.2021.11.63 Their description is Number of blocks swapped<br>
in / Number of blocks swapped out .<br>
<br>
The mystery is the graphs show pages swapping in and out all the time.<br>
However the sysctls for swap usage show no indication of swap being used<br>
<br>
# sysctl -a |fgrep -i swap<br>
vm.swap_enabled: 1<br>
vm.nswapdev: 1<br>
vm.swap_async_max: 4<br>
vm.swap_idle_threshold2: 10<br>
vm.swap_idle_threshold1: 2<br>
vm.stats.vm.v_swappgsout: 0<br>
vm.stats.vm.v_swappgsin: 0<br>
vm.stats.vm.v_swapout: 0<br>
vm.stats.vm.v_swapin: 0<br>
vm.disable_swapspace_pageouts: 0<br>
vm.defer_swapspace_pageouts: 0<br>
vm.swap_idle_enabled: 0<br>
<br>
# uptime<br>
2:51PM up 203 days, 22:29, 1 user, load averages: 0.00, 0.01, 0.00<br>
<br>
<br>
# snmpwalk -c MyPassword -v2c -Of server00 .1.3.6.1.4.1.2021.11.62.0<br>
.iso.org.dod.internet.private.enterprises.ucdavis.systemStats.ssRawSwapIn.0<br>
= Counter32: 3588<br>
<br>
<br>
<br>
I am using net-snmp-5.4.2.1 on FreeBSD 9.1-RELEASE amd64<br>
<br></blockquote></div></div></div></div></blockquote><div><br></div><div>My mistake this is a 7-STABLE amd64 install not a 9.1-RELEASE. I never got around to upgrading this install. <br></div><div>All of the 9.x servers also show that xml bit. Not sure exactly what that is either. <br>
<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div><div class="h5"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
See *<a href="http://net-snmp.sourceforge.net/docs/mibs/ucdavis.html" target="_blank">http://net-snmp.sourceforge.net/docs/mibs/ucdavis.html</a><br>
<span><font color="#888888"><br>
<br>
<br>
<br>
<br>
<br>
--<br>
Mark Saad | <a href="mailto:mark.saad@ymail.com" target="_blank">mark.saad@ymail.com</a><br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@lists.nycbug.org" target="_blank">talk@lists.nycbug.org</a><br>
<a href="http://lists.nycbug.org/mailman/listinfo/talk" target="_blank">http://lists.nycbug.org/mailman/listinfo/talk</a><br>
</font></span></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>-jesse
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><br>Mark Saad | <a href="mailto:mark.saad@ymail.com" target="_blank">mark.saad@ymail.com</a>
</div></div>