Answer the question
In order to leave comments, you need to log in
How to get rx, tx value?
Good afternoon, dear readers.
I'm trying to get the value of the incoming and outgoing network speed on a Linux server using the iftop software.
The problem is that you need to get only 2 values from the monitoring (specified in the screenshot).
Tried to display using grep , but IMHO displays the wrong value.
Please help me figure out these..
Answer the question
In order to leave comments, you need to log in
You don't need to do this with iftop, there are plenty of better tools for things like this, starting with /proc/net/dev
and various wrappers above it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question