[solved] How to see "total received" "total sent" statistics from the command line?

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
HyperBear
Level 3
Level 3
Posts: 108
Joined: Thu May 04, 2023 3:39 am

[solved] How to see "total received" "total sent" statistics from the command line?

Post by HyperBear »

Shown by GNOME system monitor.
Is there any way to see these statistics from the command line?
Last edited by HyperBear on Tue Jun 17, 2025 10:55 am, edited 1 time in total.
HyperBear
Level 3
Level 3
Posts: 108
Joined: Thu May 04, 2023 3:39 am

Re: How to see "total received" "total sent" statistics from the command line?

Post by HyperBear »

Found it!

Code: Select all

netstat -s |grep Octet
Why "octet" and not "byte"? Wikipedia tells us:
The term is often used when the term byte might be ambiguous, as the byte has historically been used for storage units of a variety of sizes.
Coggy
Level 6
Level 6
Posts: 1290
Joined: Thu Mar 31, 2022 10:34 am
Location: London, England

Re: [solved] How to see "total received" "total sent" statistics from the command line?

Post by Coggy »

Octet is the telecomms term for 8 bits. It has nothing to do with computer memory other than both computer memory and telecommunications gear have both settled on 8 bits being a convenient size. SDLC and HDLC are still in use today, and they are completely defined in terms of octets.
https://en.wikipedia.org/wiki/Synchrono ... nk_Control
This was somewhat before the term byte almost universally came to mean 8-bit-byte (rather than other sizes) in computer architectures.
HyperBear
Level 3
Level 3
Posts: 108
Joined: Thu May 04, 2023 3:39 am

Re: [solved] How to see "total received" "total sent" statistics from the command line?

Post by HyperBear »

@Coggy Good to know.
Post Reply

Return to “Software & Applications”