From owner-svn-src-all@FreeBSD.ORG Mon Nov 25 23:19:58 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2FEE4687; Mon, 25 Nov 2013 23:19:58 +0000 (UTC) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7CF592170; Mon, 25 Nov 2013 23:19:57 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id en1so6262823wid.3 for ; Mon, 25 Nov 2013 15:19:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=F3xkQgL2SJrkOcwhRz0fLNoVBtnygjw5gHp7snMcMls=; b=tSYbfJk7HUmOM6R84jU4l//iQNR5BMkGhKkYTmCitS4xUBCNWGmcUIZQZQB8uMiKN+ Falcn/dL5+fOeimGwPVArgey83xkggL32veEjKROToFdz+aimvexOdhLomJoafaNrT66 q9rH4Gh8cMZAniWryimfByeOpOy65+T1ew9mJzOH6z5CpeChf9pmWKq+EqMxlrE0ktdB yo0XHSP+FGpk2+3L0Tk6PNyoS/KZZ5zuFUGLEUOEDW6jZiG92iZ79XwgmCgn/Fu1JtUc aqp45bTC4JNWswrHATSuUw4LK/B6OVzTlvUZLSaqTCI/DBJCMCG7JPwECAXrK5F8UYa1 ZjRA== MIME-Version: 1.0 X-Received: by 10.194.175.66 with SMTP id by2mr3301567wjc.59.1385421595971; Mon, 25 Nov 2013 15:19:55 -0800 (PST) Sender: pluknet@gmail.com Received: by 10.217.0.143 with HTTP; Mon, 25 Nov 2013 15:19:55 -0800 (PST) In-Reply-To: <201311252255.rAPMtmqi073873@svn.freebsd.org> References: <201311252255.rAPMtmqi073873@svn.freebsd.org> Date: Tue, 26 Nov 2013 03:19:55 +0400 X-Google-Sender-Auth: iZxADzD_aa9PHqTRhrY4e_w0Yr4 Message-ID: Subject: Re: svn commit: r258606 - head/usr.sbin/iostat From: Sergey Kandaurov To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Nov 2013 23:19:58 -0000 On 26 November 2013 02:55, Sergey Kandaurov wrote: > Author: pluknet > Date: Mon Nov 25 22:55:47 2013 > New Revision: 258606 > URL: http://svnweb.freebsd.org/changeset/base/258606 > > Log: > iostat: fix extracting TTY statistics from core. This is imho still incomplete. devstat(3) abuses(?) monotonic clock to give iostat time difference for calculating live avg. statistics since system boot (1st step). For vmcore it would make sense to build it upon time_second. [Currently it uses same thing for both.] -- wbr, pluknet