zoukankan      html  css  js  c++  java
  • mac apt-get--> Homebrew

    在最近采集linux进程网络指标的时候,为了对比采集结果,需要linux系统查看进程网络流量命令,最后查到nethogs 这个工具好用,但是在下载安装过程中碰到问题:

    1:http://blog.csdn.net/camlot_/article/details/47424671

    问题:

    sudo apt-get install nethogs时Mac: 

    -bash:apt-get:command not found 

    上述链接博文给出解决方案,使用一:用brew代替apt-get

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)“

    之后使用 brew install XXXX 就ok

    2:nethogs 不能执行,在terminal输入nethogs没有反应,最后进入nethogs安装目录下 

    /usr/local/Cellar/nethogs/0.8.5/sbin

    执行./nethogs

    ok 看到

    but??pid>??什么鬼

    TODO

    PART II

    http://blog.csdn.net/monkeynote/article/details/45867803

    https://www.cnblogs.com/jackchen001/p/7398921.html

    https://www.cnblogs.com/hark0623/p/6097164.html

    http://blog.csdn.net/testcs_dn/article/details/40506225

    使用nethogs查看进程网络数据

    mac  bug

    https://github.com/raboof/nethogs/issues/31

  • 相关阅读:
    Beyond Compare比较图片怎么修改背景颜色
    Leonardo's Notebook UVALive
    Saddle Point ZOJ
    概率dp总结 正在更新
    First Knight UVALive
    Scout YYF I POJ
    RedIsGood TopCoder
    聪聪和可可 HYSBZ
    So you want to be a 2n-aire? UVA
    国家队论文集
  • 原文地址:https://www.cnblogs.com/newcoder/p/8367612.html
Copyright © 2011-2022 走看看