通过snmp获取带宽流量并计算
摘要:1、安装snmp及本地mib库 apt-get install snmp snmp-mibs-downloader 2、获取接口带宽: snmpwalk -v 2c -c community 1.1.1.1 ifInOctets.55 |awk '{print $NF}' -v 1|2c|3 指定S
阅读全文
posted @ 2018-07-21 21:10
posted @ 2018-07-21 21:10
Powered by:
博客园
Copyright © 2025 guoqp
Powered by .NET 9.0 on Kubernetes