關於 PHP, Linux, Open Source 及個人生活記載的網誌。
RSS icon
  • 頻寬監察工具 — iftop

    Posted on January 22nd, 2008 Sam Tang 2 comments

    iftop 是一個類似 top 的工具,但不是監察 CPU 的進程,而是監察網路卡,提供連接到本機的 IP 及流量的資料,例如每個連線所使用的流量等。

    在 Debian / Ubuntu 可以輸入以下指令安裝:

    sudo aptitude install iftop

    Fedora / CentOS:

    yum install iftop

    安裝好 iftop 後,只要在指令模式輸入 iftop 便可以開啟。


     

    2 responses to “頻寬監察工具 — iftop”

    1. 你好, 想問一下為什麼我輸入yum install iftop後, 會出現Nothing to do.. 我再輸入iftop也不能成功運行..
      我的是CentOS 4.x

      http://img.eservice-hk.net/upload/20080428012122_51168a21129322276076e9160a83da8b.PNG

    2. 可以試試自行編譯:

      http://ex-parrot.com/~pdw/iftop/

    Leave a reply

    *
    To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
    Click to hear an audio file of the anti-spam word