On 12/3/24 08:09, Poul-Henning Kamp wrote:
John Baldwin writes:
+When netstat reports every 8 seconds, it tells traffic in bits per second:
+
+$ netstat -I bge0 8
+%
Hmm, I'm pretty sure it's in bytes, and checking the code, it seems like
show_stat()
in netstat/if.c just shows the r
John Baldwin writes:
> > +When netstat reports every 8 seconds, it tells traffic in bits per second:
> > +
> > +$ netstat -I bge0 8
> > +%
>
> Hmm, I'm pretty sure it's in bytes, and checking the code, it seems like
> show_stat()
> in netstat/if.c just shows the raw delta in values witho
On 12/2/24 13:13, Poul-Henning Kamp wrote:
The branch main has been updated by phk:
URL:
https://cgit.FreeBSD.org/src/commit/?id=b5a8abe9502e781598dc052698fe7fa5830f59ee
commit b5a8abe9502e781598dc052698fe7fa5830f59ee
Author: Poul-Henning Kamp
AuthorDate: 2024-12-02 21:12:27 +
Commit:
> On Dec 3, 2024, at 3:55 PM, Poul-Henning Kamp 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
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.
--
Poul-Henning Kamp | UNIX since Zilog Ze
> On Dec 3, 2024, at 11:52 AM, Zhenlei Huang wrote:
>
>
>
>> On Dec 3, 2024, at 5:13 AM, Poul-Henning Kamp wrote:
>>
>> The branch main has been updated by phk:
>>
>> URL:
>> https://cgit.FreeBSD.org/src/commit/?id=b5a8abe9502e781598dc052698fe7fa5830f59ee
>>
>> commit b5a8abe9502e781598d
> On Dec 3, 2024, at 5:13 AM, Poul-Henning Kamp wrote:
>
> The branch main has been updated by phk:
>
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=b5a8abe9502e781598dc052698fe7fa5830f59ee
>
> commit b5a8abe9502e781598dc052698fe7fa5830f59ee
> Author: Poul-Henning Kamp
> AuthorDate:
The branch main has been updated by phk:
URL:
https://cgit.FreeBSD.org/src/commit/?id=b5a8abe9502e781598dc052698fe7fa5830f59ee
commit b5a8abe9502e781598dc052698fe7fa5830f59ee
Author: Poul-Henning Kamp
AuthorDate: 2024-12-02 21:12:27 +
Commit: Poul-Henning Kamp
CommitDate: 2024-12-0