Skip to content

wwgc/trafficstats

Repository files navigation

##traffic stats

traffic statistics for linux first interface:eth0, with ssh.

exec

python trafficstats.py

result

IP		RX(G)	TX(G)
192.168.1.55	90.2	86.7
192.168.1.100	1511.2	1556.2
192.168.1.101	1634.5	1684.5
192.168.1.200	1436.1	1475.7
192.168.1.201	1485.4	1529.8

configure

You can configure params in trafficsats.py:ip List,username,password

More

multi-threads:python trafficstatsthread.py

multi-threads,output by the given ip list order:python trafficstatsthreadInOrder.py

About

traffic statistics for linux system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages