Operating System - Linux
1822430 Members
3061 Online
109642 Solutions
New Discussion юеВ

How to check the speed of network interface in RHEL AS server?

 
GnanaShekar
Regular Advisor

How to check the speed of network interface in RHEL AS server?

Hi,

How to check the speed of network interface in RHEL AS server?
For example, I would like to estimate the amount of time it would take for me to send and recieve a file through ftp / scp from an RHEL AS server.

Please suggest,
Thanks & Regards
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: How to check the speed of network interface in RHEL AS server?

Shalom,

Two built in tools

ethtool

mii-tool

It will be hard to estimate the time of the file transfer without a file transfer test because no transfer is going to happen at the full rated speed of the connection. There are switches, wires, and other impedence factors which you can not calculate in advance.

Note also that an scp tranfer is going to be slower because thankfully it encrypts the data prior to transfer.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ragu_3
Trusted Contributor

Re: How to check the speed of network interface in RHEL AS server?

Try "iptraf", it is a good no nonsense one.
Debian GNU/Linux for the Enterprise! Ask HP ...
Alpha977
Valued Contributor

Re: How to check the speed of network interface in RHEL AS server?

Hello!

You can use ad Windows machine:
Install a tool like Filezilla(ftp) or WinSCP3(scp or sftp), all that are free, and transfer a file of 1 ,10 or 100 megabyte into the RedHat Server.
You can see the time into the forms of the tools and can also calculate the speed by time.
I prefer calculate the speed using ftp, because this protocol si specific for file-transfer and can calculate the speed with a good accuracy.
Bye!
Alpha977
Valued Contributor

Re: How to check the speed of network interface in RHEL AS server?

Hello!

You can use an Windows machine:
Install a tool like Filezilla(ftp) or WinSCP3(scp or sftp), all that are free, and transfer a file of 1 ,10 or 100 megabyte into the RedHat Server.
You can see the time into the forms of the tools and can also calculate the speed by time.
I prefer calculate the speed using ftp, because this protocol si specific for file-transfer and can calculate the speed with a good accuracy.
Bye!
PAVIC Thierry
Frequent Advisor

Re: How to check the speed of network interface in RHEL AS server?

make cat for this file : /etc/sysconfig/networking/profiles/default/ifcfg-eth0

if the lan card configuration is set you should have something like that
ETHTOOL_OPTS="speed 1000 duplex full autoneg off"

Regards Thierry