From owner-freebsd-stable@FreeBSD.ORG Thu Nov 17 16:23:59 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A72E16A41F for ; Thu, 17 Nov 2005 16:23:59 +0000 (GMT) (envelope-from imb@protected-networks.net) Received: from aaron.protected-networks.net (aaron.protected-networks.net [202.12.127.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE75C43D6A for ; Thu, 17 Nov 2005 16:23:35 +0000 (GMT) (envelope-from imb@protected-networks.net) Received: from localhost (localhost [127.0.0.1]) by aaron.protected-networks.net (Postfix) with ESMTP id 95571C255; Thu, 17 Nov 2005 11:23:34 -0500 (EST) Received: from aaron.protected-networks.net (localhost [127.0.0.1]) by aaron.protected-networks.net (Postfix) with ESMTP id CA256C254; Thu, 17 Nov 2005 11:23:30 -0500 (EST) Authentication-Results: aaron.protected-networks.net from=imb@protected-networks.net; domainkey=pass Received: from aaron.protected-networks.net (localhost [127.0.0.1]) by aaron.protected-networks.net (Postfix) with ESMTP id 6817EC251; Thu, 17 Nov 2005 11:23:30 -0500 (EST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=200509; d=protected-networks.net; b=b7V7lBO6Mpju4WU9LE1m9WFzV4ll2xAwB328vXL3ZV4TuC5nt6tKahn2I8pkhh3SX SJ4E6+Ocv/Gzbc07p8fd5GfW8yBz+KphVM+G4zNOIuxjOSLuQLkkUvz1JBQbMTS Received: from [10.12.211.88] (usstls-23.savvis.net [64.242.52.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "imb@protected-networks.net", Issuer "Protected Networks Certificate Authority" (verified OK)) (Authenticated sender: imb@protected-networks.net) by aaron.protected-networks.net (Postfix) with ESMTP id C18F5C0D5; Thu, 17 Nov 2005 11:23:29 -0500 (EST) Message-ID: <437CAE79.50106@protected-networks.net> Date: Thu, 17 Nov 2005 11:23:21 -0500 From: Michael Butler User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rob References: <20051117161259.90967.qmail@web36203.mail.mud.yahoo.com> In-Reply-To: <20051117161259.90967.qmail@web36203.mail.mud.yahoo.com> X-Enigmail-Version: 0.93.0.0 OpenPGP: id=5E873CC5 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable Subject: Re: 6-Stable: swapinfo has wrong output? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2005 16:23:59 -0000 -----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-----