nethogs
    nethogs -d 5    #5秒刷新
    nethogs eth0 eth1  #指定网卡$ nload
$ nload eth0
$ nload em0 em2
$ nload -t 500  #500毫秒刷新一次lsof备注: 如果不加任何参数,就会打开所有被打开的文件,建议加上一下参数来具体定位
lsof   /filepath/filelsof +D /filepath/filepath2/备注: 使用了+D,对应目录下的所有子目录和文件都会被列出
    lsof | grep ‘/filepath/filepath2/’lsof  -u username备注: -u 选项,u其实是user的缩写
    lsof -c mysql备注: -c 选项将会列出所有以mysql开头的程序的文件,其实你也可以写成lsof | grep mysql,但是第一种方法明显比第二种方法要少打几个字符了
    lsof -c mysql -c apache    lsof -u test -c mysql    lsof   -u ^root备注:^这个符号在用户名之前,将会把是root用户打开的进程不让显示
    lsof -p 1    lsof -p 123,456,789    lsof -p ^1    lsof -i    lsof  -i tcp    lsof  -i udp    lsof -i :3306    lsof -i udp:55特定的tcp端口
    lsof -i tcp:80    lsof  -a -u test -i    lsof -N    lsof -u    lsof -g 5555    lsof -d description(like 2)    lsof -d 2-3原文:http://blog.51cto.com/livestreaming/2314901