Date: Tue, 30 Sep 2014 13:45:46 +0400 From: Gleb Smirnoff <glebius@FreeBSD.org> To: Ryan Stone <rstone@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r272284 - head/usr.bin/systat Message-ID: <20140930094546.GA73266@FreeBSD.org> In-Reply-To: <201409291738.s8THcpxo038996@svn.freebsd.org> References: <201409291738.s8THcpxo038996@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 29, 2014 at 05:38:51PM +0000, Ryan Stone wrote: R> Author: rstone R> Date: Mon Sep 29 17:38:50 2014 R> New Revision: 272284 R> URL: http://svnweb.freebsd.org/changeset/base/272284 R> R> Log: R> Fix integer truncation in affecting systat -ifstat R> R> The "systat -ifstat" command was using a u_int to store byte counters. R> With a 10Gbps or faster interface, this overflows within the default R> 5 second refresh period. Switch to using a uint64_t across the board, R> which matches the size used for all counters as of r263102. R> R> PR: 182448 R> MFC after: 1 week R> Sponsored by: Sandvine Inc Thanks, Ryan. I'm always surprised finding people using systat(1) for anything instead of netstat, top, vmstat and the rest. -- Totus tuus, Glebius.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140930094546.GA73266>