Install iftop check bandwidth usage on Centos 6.3 Redhat RHEL Fedora 17

Howto install iftop check bandwidth usage on Centos 6.3 Redhat RHEL Fedora 17

 

1. Install epel Repository on your Centos Server

x64: http://ithelpblog.com/os/linux/redhat/centos-redhat/install-epel-repository-on-centos-6-3-x86_64-or-redhat-6-3/

i386: http://ithelpblog.com/os/linux/redhat/centos-redhat/install-epel-repository-on-centos-6-3-or-redhat-6-3-rhel/

2. Install iftop

[root@localhost ~]# yum install iftop
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 5.0 kB 00:00
* base: mirrors.digipower.vn
* epel: ftp.cuhk.edu.hk
* extras: mirrors.digipower.vn
* rpmforge: mirror-fpt-telecom.fpt.net
* updates: mirrors.digipower.vn
base | 3.7 kB 00:00
extras | 3.5 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 3.5 kB 00:00
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package iftop.x86_64 0:1.0-0.1.pre2.el6 will be installed
–> Finished Dependency ResolutionDependencies Resolved=====================================================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================================================
Installing:
iftop x86_64 1.0-0.1.pre2.el6 epel 44 kTransaction Summary
=====================================================================================================================================================================================================
Install 1 Package(s)Total download size: 44 k
Installed size: 81 k
Is this ok [y/N]: y
Downloading Packages:
iftop-1.0-0.1.pre2.el6.x86_64.rpm | 44 kB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : iftop-1.0-0.1.pre2.el6.x86_64 1/1
Verifying : iftop-1.0-0.1.pre2.el6.x86_64 1/1Installed:
iftop.x86_64 0:1.0-0.1.pre2.el6

Complete!
[root@localhost ~]#

3. Start iftop and monitor bandwidth usage on your server with remote hosts

[root@localhost ~]# iftop
interface: eth0
IP address is: 192.168.0.110
MAC address is: 00:0c:29:bf:74:53

That’s all. Thanks for using ITHelpblog.com.

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>