From owner-freebsd-stable@FreeBSD.ORG Thu Nov 17 16:13:00 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 3747516A41F for ; Thu, 17 Nov 2005 16:13:00 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from web36203.mail.mud.yahoo.com (web36203.mail.mud.yahoo.com [209.191.68.229]) by mx1.FreeBSD.org (Postfix) with SMTP id C0DA243D45 for ; Thu, 17 Nov 2005 16:12:59 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 90969 invoked by uid 60001); 17 Nov 2005 16:12:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=CgOD3Lg00PMFoljerJCQ17wHEc3Np2xYmYbGFDq/syqqqdbcpvm3ChpNauRn/ATH3br7pvGuArJ0b0ZO8CEjidb0YnLzy0QMc5pYDnQvj8Nh15j+tgbNuCJTFmoThDFy6w4k0XbKtmPuxjF2UEeqo0oHJEYTVYZgAHq7KyAuShE= ; Message-ID: <20051117161259.90967.qmail@web36203.mail.mud.yahoo.com> Received: from [218.232.14.39] by web36203.mail.mud.yahoo.com via HTTP; Thu, 17 Nov 2005 08:12:59 PST Date: Thu, 17 Nov 2005 08:12:59 -0800 (PST) From: Rob To: FreeBSD Stable MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: 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:13:00 -0000 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? Rob. __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs