check current network speed linux

Welcome to Programming Tutorial official website. Today - we are going to cover how to solve / find the solution of this error check current network speed linux on this date .

I’m trying to get current network speed like shown in System Monitor on GNOME.
I need this to be in terminal and if possible no installations needed (on most of distros this tool i need should be installed by default with the system).

So i don’t want to ping anything or stuff like that, I just want to check speed in simplest way possible without adding new tools.

I hope there is a tool that will show information in terminal like System Monitor -> Resources -> Network history.

EDIT:
if there is a workaround in Java to get this information without using linux commands this would be great

Answer

It’s difficult to know what tools you already have installed on your system. I’d recommend either bmon, ifstat, or ifstat -S if you want the information printed on the same time.

The above should be in your distro’s central repository (aptitude, yum etc) so should be easy to install if they’re not aready there.