使用rtacct命令可以监视内核snmp计数器和网络接口统计数据,它是一种网络统计的工具。
语法格式:rtacct [参数]
常用参数:
-n | 不显示任何内容,只更新历史 |
-t | 时间间隔的平均速率 |
-r | 重设历史 |
参考实例
网络统计:
[[email protected] ~]# rtacct
对网络统计内容的更新历史:
[[email protected] ~]# rtacct -n
对更新内容重设历史:
rtacct -r
');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-image :where(.has-border-color){border-style:solid}.wp-block-image :where([style*=border-top-color]){border-top-style:solid}.wp-block-image :where([style*=border-right-color]){border-right-style:solid}.wp-block-image :where([style*=border-bottom-color]){border-bottom-style:solid}.wp-block-image :where([style*=border-left-color]){border-left-style:solid}.wp-block-image :where([style*=border-width]){border-style:solid}.wp-block-image :where([style*=border-top-width]){border-top-style:solid}.wp-block-image :where([style*=border-right-width]){border-right-style:solid}.wp-block-image :where([style*=border-bottom-width]){border-bottom-style:solid}.wp-block-image :where([style*=border-left-width]){border-left-style:solid}.wp-block-image figure{margin:0}/*]]>*/
使用rtacct命令可以监视内核snmp计数器和网络接口统计数据,它是一种网络统计的工具。
语法格式:rtacct [参数]
常用参数:
-n | 不显示任何内容,只更新历史 |
-t | 时间间隔的平均速率 |
-r | 重设历史 |
参考实例
网络统计:
[[email protected] ~]# rtacct
对网络统计内容的更新历史:
[[email protected] ~]# rtacct -n
对更新内容重设历史:
rtacct -r