iftop这个小工具是Linux和unix下的top命令升级版,功能相对较强,界面易懂。今天安装了CentOS6.5的最新版,装个小工具检查下系统运行性能。

官网:http://www.ex-parrot.com/~pdw/iftop/

但现在进入到iftop的官网查看还是跟以前的介绍一样 目前最稳定的版本还是0.17帮 注:

Download

The latest stable version of iftop is 0.17. Older and newer (pre-release) version are available from the downloads directory. I am always keen to hear of any problems with the latest pre-release versions (that's what they're there for) so please do try them. N.B. these are versioned as pre-releases, so 0.17 is the final release, and comes after 0.17pre*

Download: iftop-0.17.tar.gz or iftop-1.0pre3.tar.gz.

If you wish to be notified of new releases of iftop then please subscribe to the Freshmeat project, or the mailing list. If you're using Freshmeat, please consider adding a rating or comment to the project.

  所以选择0,。17版本 安装方式当然有两种 源码和rpm包。(Centos 的yum源里默认没有iftop这个工具)

当然在安装前需要几个依赖包的支持,flex byacc   ncurses ncurses-devel  libpcap

上面两个安装包有版本要求需要是libpcap-0.9.4-14.el5.x86_64.rpm   0.9.4版本的libpcap包 当然如果你是x86的系统需要安装i386的rpm包

关于如何下载到这个rpm包 你可以用Google搜索引擎 去找到相应的源下载地址。

我贴上一个 i386的下载地址列表 http://rpm.pbone.net/index.php3/stat/4/idpl/15976291/dir/scientific_linux_5/com/libpcap-0.9.4-15.el5.i386.rpm.html

安装libpcap

首先查看是否已经有高版本的libpcap

rpm -qa | grep libpcap

如果有可以运行 rpm -ef libpcap

再次确认rpm -qa | grep libpcap

没有就可以安装了

rpm -ivh libpcap-0.9.4-15.el5.i386.rpm

安装完成后就可以安装iftop了

如果有rpm版的直接运行

rpm -ivh iftop-0.17-1.el5.rf.i386.rpm

安装成功后就可以运行 iftop命令了

如果是源码包

tar zxvf iftop-0.17.tar.gz

cd iftop-0.17

./configure

make && make install

CentOS6.5安装iftop的更多相关文章

  1. vmware Centos6.6安装64位

    Centos6.6安装64位 必须开启BIOS中的虚拟化技术 首先开机进入BIOS,一般机器是按F2,我的T420是按F1,然后进入Security,Virtualization,选择Enable即可 ...

  2. Gitlab完美安装【CentOS6.5安装gitlab-6.9.2】

    摘要: 拆腾了几天,终于在今天找到了快速安装Gitlab的方法.CentOS6.5安装gitlab-6.9.2 参考网址:https://gitlab.com/gitlab-org/omnibus-g ...

  3. CentOS6.5安装Tomcat

    安装说明 安装环境:CentOS-6.4 安装方式:源码安装 软件:apache-tomcat-7.0.56.tar.gz 下载地址:http://tomcat.apache.org/download ...

  4. Centos6 yum安装openldap+phpldapadmin+TLS+双主配置

    原文地址:http://54im.com/openldap/centos-6-yum-install-openldap-phpldapadmin-tls-%E5%8F%8C%E4%B8%BB%E9%8 ...

  5. CentOS系统 yum 安装 iftop实时流量监控工具

    一. 不多说其他的无用话题.直接看步骤: 1.要安装某个工具,首先得知道这个工具需要依赖包. eg:iftop 就依赖 以下这几个依赖包(不清楚工具依赖什么包“Google.百度”). flex   ...

  6. centos6.5安装oracle11g_2

    centos7安装oracle数据库不成功,换成centos6.5安装,可以安装成功,记录一下 安装系统时,主机名如果不是用localhost,安装成功后,要用主机名和ip做映射,修改/etc/hos ...

  7. CentOS6.6安装vmware workstation报错

    本人系统用的是centos6.6,安装了vmware workstation,启动后一直如下图报错,相关内核已经安装了的,哪位前辈如果解决过这样的问题,麻烦指点指点,小弟在此先谢过了.

  8. CentOS6.6安装virtualbox4.1.44

    本人用的是centos6.6,安装了virtualbox 4.1.44,启动后一直如上图报错,哪位前辈如果解决过这样的问题,麻烦指点指点,小弟在此先谢过了.

  9. [转]CentOS-6.3安装配置cmake

    CentOS-6.3安装配置cmake   zhoulf 2013-02-03 原创 安装说明 安装环境:CentOS-6.3安装方式:源码编译安装 软件:cmake-2.8.10.2.tar.gz下 ...

随机推荐

  1. 在coding上添加ssh-key

    第一步:检查有没有ssh-key 第二步:生成ssh-key 第三步:添加到coding上或者Github上. ls -al ~/.ssh ssh-keygen -t rsa -C "you ...

  2. 技术分析:Femtocell家庭基站通信截获、伪造任意短信

    阿里移动安全团队与中国泰尔实验室无线技术部的通信专家们一起,联合对国内运营商某型Femtocell基站进行了安全分析,发现多枚重大漏洞,可导致用户的短信.通话.数据流量被窃听.恶意攻击者可以在免费申领 ...

  3. EasyUI实战经验总结,给有需要的人

    最近公司培训EasyUI,就做下总结吧,给有需要的人. 1.最常用的表格 <div class="easyui-panel" data-options="regio ...

  4. 获取Web.config配置节

    static string GetAppSetting(string key) { var appSetting = ConfigurationManager.AppSettings[key]; if ...

  5. bootstrap multiselect两大组件

    组件说明以及API 1.第一个组件——multiple-select.这个组件风格简单.文档全.功能强大.但是觉得它选中的效果不太好.关于它的效果展示,我们放在后面. 2.第二个组件——bootstr ...

  6. css动画之波纹

    样式定义: #ContactAbout { height: auto; position: relative; overflow: hidden; } #sectioncontact { displa ...

  7. Linq---左外联查询

    花了好半天才解决这个问题,终于在网上找到了答案,在此记录备份. 参考连接:http://bbs.csdn.net/topics/390150047 自己总结的如下: 结构就不说了,最后大家自己下源码看 ...

  8. tomcat配置和优化

    转载: https://mp.weixin.qq.com/s?__biz=MzA3MzYwNjQ3NA==&mid=2651296654&idx=1&sn=b04fc6cecf ...

  9. Java异常-一般异常和运行时异常的区别

    Java提供了两类主要的异常:runtime exception和checked exception.checked 异常也就是我们经常遇到的IO异常,以及SQL异常都是这种异常.对于这种异常, JA ...

  10. 图解Android - Looper, Handler 和 MessageQueue

    Looper, Handler 和 MessageQueue 是Android 的异步消息处理机制