From nobody Tue Dec 03 10:00:25 2024 X-Original-To: dev-commits-src-main@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 4Y2bkZ6Lw4z5gCMf; Tue, 03 Dec 2024 10:00:38 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4Y2bkZ5wLVz4ckM; Tue, 3 Dec 2024 10:00:38 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733220038; 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=kM+sSv9nh2w7DNzyygnQ/vtigK19hK1+jdqrrJ6tr7Q=; b=VlQDcKrAGhTbtQphdrkS2WXqHSqWisBUbac0Pp/IvexejLEcPR8ThgZhat1UTbCqGoPtlw UQRMqSh4YWOTsj9MgeIIN2Of27XXvx0s8oXm58x8vaeSe5vmueoxFJAIXcZL0F1y1yyeLI ex48KfjFvnqrkIz/YPtcwMvYtbNrA+YbKfhtFxJf6eZTG6zan9Vxbl6QKCXycbbVyNbbEt 6CViRLFMwf1vNaKLuhHILBnHbbNkTXgjT7QJHrkMuwuWbMCK8QM0Bl5X9DsHTD6BP/ZByV tO9pnRCjkSktr/2KHBWEeOpUX4rEU0MeGlP1Cwec8BJ574iw9zGYy7FwB4Uovw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733220038; 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=kM+sSv9nh2w7DNzyygnQ/vtigK19hK1+jdqrrJ6tr7Q=; b=X19/GOqITldEff0oDuUGuMRd5KtiDwUAIqUCwY/0q3Xivc4QSqW3cM/pgqewYuhGeJUXRy FRtz9TXK4VdDkP/U3DJ6XLYtJhW/lM5zUs6Gu8QSPwJAb334sKv4QupK1evAIdjfjHHtyG CHycn+D0THW5EgfDnqyfZcyBYKRAVhnnmL9a+/wfQYIaUC3hJNnI6G0qFhFtU02WBuOIG2 AOsJ+mkmuu5s3Rxg6YABezeloJrSGoc8rcPxb2FDcHYZU/QeaBBZokT65su/q8IMfQrV1i yt51Q6M8yAsHlu6He02k+22I9uHYkxy90v7Xea3I+3NG1FSItuHis+eOUDwO/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733220038; a=rsa-sha256; cv=none; b=O0UGsjofeT5mXOt583fmC/303sfQNJceS+mKpZA0GfJAJSkFPLd4PbkuFHpBKJzBdI6P7w E7vSI4H2oduoHAx3fXuDKd2lbBs8wICrDXU84Z2cYzXamm4Z+rGdW0FE5BAJedRy9juZX8 HZj9KDSfHgBaIdNhVS5cDtwSmVyWM1x/CCNyFIY45OdLL6Giu5eEdNu4u5l5Hi08Y+fDuo MN5Q9IevBb0BSet1EAZ9Mv2GV4SbiVUyEk11PFrp/mC8JQEE/XaIhgqWeae95nfDRhn8pO a65/ZWxRYAEC0K5wf3LO724UwHHl7K7NrCz3vl0DUh+ztKVkSLD6Nlpvw1t8wg== Received: from smtpclient.apple (unknown [IPv6:2001:19f0:6001:9db:98f0:9fe0:3545:10]) (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 4Y2bkV5clqzHdr; Tue, 3 Dec 2024 10:00:34 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Content-Type: text/plain; charset=us-ascii List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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: <202412030755.4B37tO1k018962@critter.freebsd.dk> Date: Tue, 3 Dec 2024 18:00:25 +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: References: <202412022113.4B2LD0mt010926@gitrepo.freebsd.org> <043A2EA2-647F-4B04-B6AA-A3E6B001B741@FreeBSD.org> <202412030755.4B37tO1k018962@critter.freebsd.dk> To: Poul-Henning Kamp X-Mailer: Apple Mail (2.3696.120.41.1.10) > On Dec 3, 2024, at 3:55 PM, Poul-Henning Kamp = wrote: >=20 > -------- > Zhenlei Huang writes: >=20 >> When netstat reports every 8 seconds, you're gonna get `8 * bytes per = 8=20 >> seconds`, so you still get `bytes per second` but not `bits per = second`=20 >=20 > 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` :-) >=20 > --=20 > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe =20 > Never attribute to malice what can adequately be explained by = incompetence.