nethogs
来源:互联网 发布:淘宝买岛国片搜什么 编辑:程序博客网 时间:2024/06/05 12:46
自己的台式机使用的是无线网卡,使用nethogs时候出现一下错误:
ioctl failed while establishing local IP for selected device eth0. You may specify the device on the command line.
这个意思的是eth0设备没有分配IP地址,无法监控流量。原因是使用的是无线网卡, ifconfig
eth0 Link encap:Ethernet HWaddr 18:03:73:31:97:19
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:20 Memory:e1500000-e1520000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:31049 errors:0 dropped:0 overruns:0 frame:0
TX packets:31049 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3963939 (3.9 MB) TX bytes:3963939 (3.9 MB)
wlan1 Link encap:Ethernet HWaddr c8:3a:35:cd:86:a6
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::ca3a:35ff:fecd:86a6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1498604 errors:0 dropped:0 overruns:0 frame:0
TX packets:1467841 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:519141678 (519.1 MB) TX bytes:1276239936 (1.2 GB)
因此 要监控wlan1的网卡才行,使用nethogs制定设备即可,
nethogs wlan1
- nethogs
- nethogs
- NetHogs
- nethogs使用
- redhad安装nethogs
- nethogs安装使用
- nethogs安装及使用
- 用nethogs监控上网流量
- ubuntu流量监控工具nethogs
- Linux网络监控工具nethogs
- 网络监控 nethogs小工具
- 网络监视工具nethogs命令
- 使用nethogs查看网络流量使用情况
- inux命令之nethogs命令流量统计
- Linux网络进程监控工具nethogs
- nethogs 查看每个进程使用的带宽
- nethogs按进程查看流量占用
- NetHogs实时进程流量查询工具
- JICE
- RS232 RS422 RS485的区别
- 第一个C++类实例
- [2602]Bone Collector (HDU)
- iOS 中GET请求
- nethogs
- 使用AMOS图形建立和检测模型(3)
- 搞不懂啊,为什么会这样,连结果都输不出来,怎么就AC了呢?
- html dojo1.9
- 算法笔记--图的基本遍历
- iOS的三维透视投影
- 机房收费系统之上下机
- 结构方程模型(SEM)的假设(2)
- 数据分组与聚合函数