• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install iftop on CentOS 7.6

  • 00:37 yum -y install libpcap libpcap-devel ncurses ncurses-devel
  • 00:50 yum install iftop -y
  • 01:00 iftop
{{postValue.id}}

Installation of iftop CentOS 7.6

Requirements:

libcap libcap-devel ncurses and  ncurses-devel

Installation Process

Download the libraries and its development tools that are required to install iftop.

[root@linuxhelp ~]#  yum  -y install libpcap libpcap-devel ncurses ncurses-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * epel: epel.scopesky.iq
 * extras: mirrors.viethosting.com
 * remi-php72: ftp.riken.jp
 * remi-safe: ftp.riken.jp
 * updates: centos.mirrors.estointernet.in
Package 14:libpcap-1.5.3-11.el7.x86_64 already installed and latest version
Package ncurses-5.9-14.20130511.el7_4.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package libpcap-devel.x86_64 14:1.5.3-11.el7 will be installed
---> Package ncurses-devel.x86_64 0:5.9-14.20130511.el7_4 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================
 Package             Arch         Version                        Repository  Size
==================================================================================
Installing:
 libpcap-devel       x86_64       14:1.5.3-11.el7                base       118 k
 ncurses-devel       x86_64       5.9-14.20130511.el7_4          base       712 k

Transaction Summary
==================================================================================
Install  2 Packages

Total download size: 830 k
Installed size: 2.3 M
Downloading packages:
(1/2): libpcap-devel-1.5.3-11.el7.x86_64.rpm               | 118 kB  00:00:01     
(2/2): ncurses-devel-5.9-14.20130511.el7_4.x86_64.rpm      | 712 kB  00:00:01     
----------------------------------------------------------------------------------
Total                                                418 kB/s | 830 kB  00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 14:libpcap-devel-1.5.3-11.el7.x86_64                           1/2 
  Installing : ncurses-devel-5.9-14.20130511.el7_4.x86_64                     2/2 
  Verifying  : ncurses-devel-5.9-14.20130511.el7_4.x86_64                     1/2 
  Verifying  : 14:libpcap-devel-1.5.3-11.el7.x86_64                           2/2 

Installed:
libpcap-devel.x86_64 14:1.5.3-11.el7
ncurses-devel.x86_64 0:5.9-14.20130511.el7_4                                   

Complete!

And then, install iftop using yum command as follows.

[root@linuxhelp ~]# yum install  iftop -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.estointernet.in
 * epel: epel.scopesky.iq
 * extras: mirrors.viethosting.com
 * remi-php72: ftp.riken.jp
 * remi-safe: ftp.riken.jp
 * updates: centos.mirrors.estointernet.in
Resolving Dependencies
--> Running transaction check
---> Package iftop.x86_64 0:1.0-0.14.pre4.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================
 Package        Arch            Version                       Repository     Size
==================================================================================
Installing:
 iftop          x86_64          1.0-0.14.pre4.el7             epel           52 k

Transaction Summary
==================================================================================
Install  1 Package

Total download size: 52 k
Installed size: 93 k
Downloading packages:
iftop-1.0-0.14.pre4.el7.x86_64.rpm                         |  52 kB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : iftop-1.0-0.14.pre4.el7.x86_64                                 1/1 
  Verifying  : iftop-1.0-0.14.pre4.el7.x86_64                                 1/1 

Installed:
  iftop.x86_64 0:1.0-0.14.pre4.el7                                                

Complete!

Run the interface top command to view the network bandwith activities on your terminal.

[root@linuxhelp ~]# iftop
interface: ens33
IP address is: 192.168.7.229
MAC address is: 00:0c:29:f9:d6:3d

With this, the installation of iftop on CentOS 7.6 comes to an end.

Tags:
ryder
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is iftop used for In CentOS 7.6?

A

iftop is used to view the current bandwidth on a network interface On CentOS 7.6

Q

Is it possible for a normal user to run the iftop on CentOS 7.6?

A

No, it is not possible for a normal user to run the iftop on CentOS 7.6

Q

Who can run the iftop on CentOS 7.6?

A

iftop must be run by a root user or the user who has sufficient privileges to monitor network bandwidths.

Q

What does -F option used for in iftop on centos 7.6?

A

-F makes iftop to show the packets entering and leaving a given network On centos 7.6

Q

What is the stable release of iftop for Centos 7.6?

A

0.17 is the stable release of iftop for CentOS 7.6

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help legeek ?
Installation of the call center module

hello

I wish to install a call center in virtual with issabel, I downloaded the latest version of it , but I don' t arrive to install the call center module in issabel. please help me

thanks!

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.