From nobody Tue Dec 03 03:52:44 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y2RZD5gbqz5fcDK; Tue, 03 Dec 2024 03:52:52 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y2RZD3Rhmz4sj2; Tue, 3 Dec 2024 03:52:52 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733197972; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XmnlCWM6eHzWyilPMwASIgPnso3ljnjkhRvHxoy7Wcg=; b=Hwn8/ntSOPyKx6qpQEplp6cbYGzixaLive9rvQzholnE5pcmqMeV+Y8sQufY9NDttMk5Hy vmopcMW9MMfq76Jo0JdQIjQYQQoX7YfpFLCEVoqu4ucPa3KvSiEkyt7bBfm8XSwfueQvVr +bvEJAwzK2S2DRSbRWtgMoE+8eKKRykWr0YYs03HiBxRkp1+HzbU3nDV2YGmJnqBpQR2WU 2foz1oNGDZdIM9W8LiNLi2Ym245BRdAsT2FtRIIZyzOADGF+ff1Z059+Th1zqGAwlGb1u8 0JDnv7PL9qQMjd53XnQ1doe+6S0bQnw/xXs9b0ngflpF+Q8tpVl7PGjsXyGlow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733197972; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XmnlCWM6eHzWyilPMwASIgPnso3ljnjkhRvHxoy7Wcg=; b=MOLu4WkS7aOAfry5PJWvHOl5m9cneYjey2iE+ammeaxTaDBYz2rhSxCskoQvlyyoKaQ5Qw ODcFec7Yeb8HP6f567lbLvXUa4l0+TZ/sNuCkdUzehhpAnHQ+0IwPaWxJ+dgAlrcT4DIEx hpu8hDoHtBiUHE7CxmJOeH7v68fgTHh3AWsLKq7rxGKiS4JLsicE3pUVbK8BjBfXGnaW5P +S7dlimke67v0X5NR8BhMTutCcz6P8Qru7JU9DSTSxx1s0ZVN/zOkJWMUD5LyAzal2RC0e qFrdZOoLrCxkOPU0K+CB2aGGKRhmw5E3GWqp7a1RdSIrfeUh+zmiGbJFzpZQbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733197972; a=rsa-sha256; cv=none; b=Ovn5DMb9TZtr0uKaaDMPsbWszLT6SdBcr/15U0AtlGCcWhwiZuMKcQqdLZZjxiCovN6SK9 Wq5RjKfWFoi0ui84215RJP9qDQihWAHTBkVW/GO83cotH6JPy/jAyyM2SmX4LiEREjKFhr vMHCsPBL1nIeFv3DPrbtrI+oeUU3uUiRiKeDWszXtQlSMJjvHuXufi7EsHOphnxRJV/ACt IcVu2HN8TOEgZQQeTiuxnRcuw4wStzT7irq238+1ElfZNoa234+fbJa6jF46+pER+2E1N/ azRj05pfEzrk3EVZkF0fsi2ZWcokuWgKb6RmiN2t2Q6D5RJpcKh5Tk9R4eK98g== Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Y2RZC03NCz1Nl7; Tue, 3 Dec 2024 03:52:50 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Content-Type: text/plain; charset=us-ascii List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.10\)) Subject: Re: git: b5a8abe9502e - main - How to show interface traffic in bits per second From: Zhenlei Huang In-Reply-To: <202412022113.4B2LD0mt010926@gitrepo.freebsd.org> Date: Tue, 3 Dec 2024 11:52:44 +0800 Cc: "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <043A2EA2-647F-4B04-B6AA-A3E6B001B741@FreeBSD.org> References: <202412022113.4B2LD0mt010926@gitrepo.freebsd.org> To: Poul-Henning Kamp X-Mailer: Apple Mail (2.3696.120.41.1.10) > On Dec 3, 2024, at 5:13 AM, Poul-Henning Kamp wrote: >=20 > The branch main has been updated by phk: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3Db5a8abe9502e781598dc052698fe7fa5= 830f59ee >=20 > commit b5a8abe9502e781598dc052698fe7fa5830f59ee > Author: Poul-Henning Kamp > AuthorDate: 2024-12-02 21:12:27 +0000 > Commit: Poul-Henning Kamp > CommitDate: 2024-12-02 21:12:27 +0000 >=20 > How to show interface traffic in bits per second > --- > usr.bin/fortune/datfiles/freebsd-tips | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/usr.bin/fortune/datfiles/freebsd-tips = b/usr.bin/fortune/datfiles/freebsd-tips > index c0807405005e..1e9501e3a6fb 100644 > --- a/usr.bin/fortune/datfiles/freebsd-tips > +++ b/usr.bin/fortune/datfiles/freebsd-tips > @@ -856,3 +856,7 @@ $ fc-list ':charset=3D0x1F4A1' > $ pkg which /usr/local/share/fonts/noto/NotoColorEmoji.ttf > /usr/local/share/fonts/noto/NotoColorEmoji.ttf was installed by = package noto-emoji-2.042 > % > +When netstat reports every 8 seconds, it tells traffic in bits per = second: > + > +$ netstat -I bge0 8 Ahh, too stupid to be smart ! Best regards, Zhenlei > +%