svn commit: r272284 - head/usr.bin/systat
Gleb Smirnoff
glebius at FreeBSD.org
Tue Sep 30 09:45:51 UTC 2014
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.
More information about the svn-src-all
mailing list