git: b5a8abe9502e - main - How to show interface traffic in bits per second
Date: Mon, 02 Dec 2024 21:13:00 UTC
The branch main has been updated by phk:
URL: https://cgit.FreeBSD.org/src/commit/?id=b5a8abe9502e781598dc052698fe7fa5830f59ee
commit b5a8abe9502e781598dc052698fe7fa5830f59ee
Author: Poul-Henning Kamp <phk@FreeBSD.org>
AuthorDate: 2024-12-02 21:12:27 +0000
Commit: Poul-Henning Kamp <phk@FreeBSD.org>
CommitDate: 2024-12-02 21:12:27 +0000
How to show interface traffic in bits per second
---
usr.bin/fortune/datfiles/freebsd-tips | 4 ++++
1 file changed, 4 insertions(+)
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=0x1F4A1'
$ 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
+%