Re: git: b5a8abe9502e - main - How to show interface traffic in bits per second

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Tue, 03 Dec 2024 10:00:25 UTC

> On Dec 3, 2024, at 3:55 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> 
> --------
> Zhenlei Huang writes:
> 
>> When netstat reports every 8 seconds, you're gonna get `8 * bytes per 8 
>> seconds`, so you still get `bytes per second` but not `bits per second` 
> 
> Netstat -I reports bytes since last update, not bytes per second.

Yeah, you're right. I think I over thought this and got confused by `per second` :-)

> 
> -- 
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe    
> Never attribute to malice what can adequately be explained by incompetence.