packets per second tool for CLI - and question about checksum_errs
moridin
moridin at mm.st
Wed Aug 21 05:43:59 UTC 2019
Rudy wrote:
>
> Here is a quick tool so show Packets Per Second on the CLI for all your
> interfaces (only tested with ix and igb).
> It uses the output of sysctl every second. If you like it, great!
>
> Quick question, why am I seeing checksum_errs around 1k on a link doing
> 3Gbps?
>
> *
> **Sample output of script:*
>
> Tue Aug 20 22:28:16 2019 00:00:01
> Dev RX bits TX bits RX PPS TX PPS CK Error
> igb0 0 2 0
> igb1 0 0 0
> ix0 2589 M 415 M 311 k 171 k 11
> ix1 254 M 2120 M 108 k 248 k 1 k
> ix2 171 M 508 M 62 k 63 k 385
> ix3 1 k 1 k 0 0 0
> Host: yourbox.example.com
If you need just pps, you could use `systat -ifstat -pps` instead.
More information about the freebsd-net
mailing list