We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd506ba commit 1baa2b1Copy full SHA for 1baa2b1
monitor.md
@@ -96,11 +96,24 @@ Timing buffered disk reads: 806 MB in 3.00 seconds = 268.52 MB/sec
96
```
97
98
99
+## 网络监控
100
+
101
+- 安装 iftop(需要有 EPEL 源):`yum install -y iftop`
102
+ - 如果没有 EPEL 源:`yum install -y epel-release`
103
+- 常用命令:
104
+ - `iftop`:默认是监控第一块网卡的流量
105
+ - `iftop -i eth1`:监控eth1
106
+ - `iftop -n`:直接显示IP, 不进行DNS反解析
107
+ - `iftop -N`:直接显示连接埠编号, 不显示服务名称
108
+ - `iftop -F 192.168.1.0/24 or 192.168.1.0/255.255.255.0`:显示某个网段进出封包流量
109
110
111
## 参考资料
112
113
- <http://man.linuxde.net/dd>
114
- <https://linux.cn/article-6104-1.html>
115
+- <http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2858923.html>
116
+- <http://coolnull.com/3649.html>
117
118
119
0 commit comments