Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2019 08:43:54 +0300
From:      moridin <moridin@mm.st>
To:        freebsd-net@freebsd.org
Subject:   Re: packets per second tool for CLI - and question about checksum_errs
Message-ID:  <7d61f797-1674-8c4a-d303-1b057ddf309f@mm.st>
In-Reply-To: <380fff29-8df3-2671-69c3-ef47131aaf58@monkeybrains.net>
References:  <380fff29-8df3-2671-69c3-ef47131aaf58@monkeybrains.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d61f797-1674-8c4a-d303-1b057ddf309f>