pyifstat

python写的ifstat,用于查看当前带宽(流量)占用情况
借用ifstat的介绍: ifstat is a tool to report network interfaces bandwidth just like vmstat/iostat do for other system counters. It can monitor local interfaces by polling the kernel counters
#!/usr/bin/env python
import time
import sys
if len(sys.argv) > 1:
INTERFACE = sys.argv[1 …
more ...