From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 29 08:13:06 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0849106564A; Wed, 29 Aug 2012 08:13:05 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 6F8238FC15; Wed, 29 Aug 2012 08:13:05 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1T6dJJ-000Ljx-F7; Wed, 29 Aug 2012 11:07:37 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: Andrey Zonov In-reply-to: <503D0308.70109@FreeBSD.org> References: <503D0308.70109@FreeBSD.org> Comments: In-reply-to Andrey Zonov message dated "Tue, 28 Aug 2012 21:42:32 +0400." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 29 Aug 2012 11:07:37 +0300 From: Daniel Braniss Message-ID: Cc: freebsd-hackers@freebsd.org, Andy Young Subject: Re: Question on io monitoring tools such as gstat and iostat X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2012 08:13:06 -0000 > This is an OpenPGP/MIME signed message (RFC 2440 and 3156) > --------------enigCDF012FCB4FC78B4732FDA45 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > > On 8/28/12 3:14 PM, Andy Young wrote: > > I am relatively new to using IO monitoring tools and wanted to confirm = > I > > understand them correctly. If I specify an interval of 5 seconds, my > > assumption is that the data displayed is an average over that 5 second > > interval. Is that correct or am I misunderstanding how intervals work? > >=20 > > Yes, you are right. For more information you can read devstat(3) or > sources in src/lib/libdevstat/devstat.c. netstat does not! danny