From owner-freebsd-questions@FreeBSD.ORG Fri Mar 25 02:58:05 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DA3116A4CE for ; Fri, 25 Mar 2005 02:58:05 +0000 (GMT) Received: from web50906.mail.yahoo.com (web50906.mail.yahoo.com [206.190.38.126]) by mx1.FreeBSD.org (Postfix) with SMTP id D4AF143D2D for ; Fri, 25 Mar 2005 02:58:04 +0000 (GMT) (envelope-from jonstew1983@yahoo.com) Received: (qmail 73932 invoked by uid 60001); 25 Mar 2005 02:58:04 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=itnkTEGn35YJbOOBsp5R4umpff213ms1LdJm7cGp0OW6KHSP1Zo5yxvJM+PGlNnED8NTg0r0vOkT77USyYBB73yjdmofGagbjn0mKXWz3MkrV/OUbwU3UA+b6xvfg4TRiOnSqKev7DZATZo9eYg0QTSttxj83KEc1guHBxJIPeI= ; Message-ID: <20050325025804.73930.qmail@web50906.mail.yahoo.com> Received: from [204.117.152.100] by web50906.mail.yahoo.com via HTTP; Thu, 24 Mar 2005 18:58:03 PST Date: Thu, 24 Mar 2005 18:58:03 -0800 (PST) From: Jonathan Stewart To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Discrepancy between ps -i -o inblk and figuring numbers by hand X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 02:58:05 -0000 When I run the command ps -u -o inblock on a process reading a 262144000 byte file the highest block count I see is ~2010 but my filesystem block size is 16384 and 262144000/16384 is 16000 so it seems to be off by about a factor of 8. I even tried looking through the source code for the ps command but my C is not good enough for me to figure it out. Can someone explain or help me figure out what is going on please. Jonathan PS Please CC as I am not currently subscribed to the list. __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/