Date: Thu, 17 Nov 2005 11:23:21 -0500 From: Michael Butler <imb@protected-networks.net> To: Rob <spamrefuse@yahoo.com> Cc: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: 6-Stable: swapinfo has wrong output? Message-ID: <437CAE79.50106@protected-networks.net> In-Reply-To: <20051117161259.90967.qmail@web36203.mail.mud.yahoo.com> References: <20051117161259.90967.qmail@web36203.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rob wrote: | Hi, | | I have upgraded to 6-Stable. | The swapinfo command gives wrong output: | | Device 1K-blocks Used Avail Capacity | /dev/md0 131072 11848 131072 9% | | I guess, the math should be: | "1K-blocks" = "Used" + "Avail" | | However, "1K-blocks" = "Avail", irrespective | of what is used. | | In case of more than one swap device, then | the Total line shows the right numbers. | | Is this a bug? Yes - I noticed it because the nagios plug-in ceased to give me sensible numbers - I *always* have 100% swap available ;-) Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) iD8DBQFDfK55iJykeV6HPMURAouiAJwNHf+11/3f4elXIfxi1+ipza9S/QCg/gK8 zMALDxTY9R9MQBDAqI3n9W8= =ZFnw -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?437CAE79.50106>