网站流量查询工具(网站访问量统计工具使用)
时间:2025-08-23 00:36:00
浏览量:
本文教你如何使用网络流量查看工具-iptraf-ng 。
iptraf-ng 可以方便查看当前服务器网络状况:CentOS 7.0,采用了衍生版本iptraf-ng 。
iptraf-ng -h usage: iptraf-ng [options] or: iptraf-ng [options] -B [-i <iface> | -d <iface> | -s <iface> | -z <iface> | -l <iface> | -g] -h, --help show this help message -i <iface> start the IP traffic monitor (use '-i all' for all interfaces) -d <iface> start the detailed statistics facility on an interface -s <iface> start the TCP and UDP monitor on an interface -z <iface> shows the packet size counts on an interface -l <iface> start the LAN station monitor (use '-l all' for all LAN interfaces) -g start the general interface statistics -B run in background (use only with one of the above parameters -f clear all locks and counters -t <n> run only for the specified <n> number of minutes -L <logfile> specifies an alternate log file简要步骤:
“iptraf -g” 显示每一个网卡上的流量:
“iptraf -d eth0” 显示指定网卡上的流量统计,总体流量、流入量、流出量、以及按协议分类的流量统计:
“iptraf -s eth0” 统计各port的流量:
“iptraf -i eth0” 查看远程主机端口:
“iptraf -i eth0” 的输出分为两个窗口,上面是TCP socket pairs,下面是UDP。我们根据端口号 使用 lsof 可以找到对应的进程号。
其他文章
- 红沿河镇属于瓦房店吗
- 广州引进人才管理办法
- 深圳有几个高铁站分别在哪里
- 北京丰台区护照办理地点
- 香港哪里有一田百货
- 大连公积金怎么查询?
- 北京欢乐谷开放时间
- 天津米立方开放时间
- 2022郑州限号几点到几点
- 绍兴特产有哪些?
- 合肥欢乐岛地点在哪
- 香港sogo百货有哪些品牌
- 广州花城大道地铁站是几号线
- 石狮市厦门外国语学校分校附属小学招生范围
- 西安公积金怎么查询余额
- 长沙雨花亭属于什么区
- k202济南公交线路
- 外地户口杭州购房政策2023年
- 武汉个人房产信息查询流程
- 深圳龙岗区燃气营业厅联系电话
- 中国面积最小的五个省
- 西安蓝田县身份证开头六位数字
- 上海档案查询入口
- 河套是哪个省的城市
- 珠海是属于哪一个省
- 北京鸟巢能容纳多少人?
- 中国南方有哪些省
- 深圳小汽车摇号入口
- 大专生如何在杭州落户
- 智慧团建系统操作常见问答