Linux Administration Cookbook
上QQ阅读APP看书,第一时间看更新

Getting ready

For this section, we're going to use centos1 and centos2, connect to both in separate windows.

Make sure that you install iftop on centos2 prior to starting. This comes from the Extra Packages for Enterprise Linux (EPEL) repository, so we have to install that first:

$ sudo yum install -y epel-release
$ sudo yum install -y iftop

Start iftop on centos2:

$ sudo iftop -i eth1