Created
May 9, 2014 19:20
-
-
Save cypreess/d59cbeda6ef3f40bc228 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@precise64:/vagrant/monitor$ python monitor.py eth1 --log BLEH -i 100 -vv | |
2014-05-09 19:17:29,850 - INFO - FAMTAR Monitor starting for interfaces: eth1 | |
2014-05-09 19:17:29,850 - INFO - BW min: 0.60 BW max: 0.90 | |
2014-05-09 19:17:29,850 - DEBUG - [eth1] getting address | |
2014-05-09 19:17:29,854 - INFO - [eth1] has address: sh: 1: /usr/local/xorp/sbin/xorpsh: not found | |
2014-05-09 19:17:29,854 - DEBUG - [eth1] getting starting cost | |
2014-05-09 19:17:29,858 - INFO - [eth1] has starting cost: sh: 1: /usr/local/xorp/sbin/xorpsh: not found | |
2014-05-09 19:17:29,859 - DEBUG - [eth1] speed = 1000, BW_MIN = 600000000 bit/s, BW_MAX = 900000000 bit/s | |
2014-05-09 19:17:29,859 - DEBUG - [eth1] counter = 468 B | |
2014-05-09 19:17:29,860 - DEBUG - Waiting 100 miliseconds | |
2014-05-09 19:17:29,961 - DEBUG - [eth1] speed = 1000, BW_MIN = 600000000 bit/s, BW_MAX = 900000000 bit/s | |
2014-05-09 19:17:29,961 - DEBUG - [eth1] counter = 468 B, current = 0 bit/s, smoothed = 0 bit/s | |
2014-05-09 19:17:29,961 - DEBUG - Waiting 100 miliseconds | |
2014-05-09 19:17:30,062 - DEBUG - [eth1] speed = 1000, BW_MIN = 600000000 bit/s, BW_MAX = 900000000 bit/s | |
2014-05-09 19:17:30,063 - DEBUG - [eth1] counter = 468 B, current = 0 bit/s, smoothed = 0 bit/s | |
2014-05-09 19:17:30,063 - DEBUG - Waiting 100 miliseconds | |
2014-05-09 19:17:30,163 - DEBUG - [eth1] speed = 1000, BW_MIN = 600000000 bit/s, BW_MAX = 900000000 bit/s | |
2014-05-09 19:17:30,163 - DEBUG - [eth1] counter = 468 B, current = 0 bit/s, smoothed = 0 bit/s | |
2014-05-09 19:17:30,164 - DEBUG - Waiting 100 miliseconds | |
2014-05-09 19:17:30,265 - DEBUG - [eth1] speed = 1000, BW_MIN = 600000000 bit/s, BW_MAX = 900000000 bit/s | |
2014-05-09 19:17:30,265 - DEBUG - [eth1] counter = 468 B, current = 0 bit/s, smoothed = 0 bit/s | |
2014-05-09 19:17:30,265 - DEBUG - Waiting 100 miliseconds | |
2014-05-09 19:17:30,367 - DEBUG - [eth1] speed = 1000, BW_MIN = 600000000 bit/s, BW_MAX = 900000000 bit/s | |
2014-05-09 19:17:30,367 - DEBUG - [eth1] counter = 468 B, current = 0 bit/s, smoothed = 0 bit/s | |
2014-05-09 19:17:30,367 - DEBUG - Waiting 100 miliseconds | |
2014-05-09 19:17:30,468 - DEBUG - [eth1] speed = 1000, BW_MIN = 600000000 bit/s, BW_MAX = 900000000 bit/s | |
2014-05-09 19:17:30,468 - DEBUG - [eth1] counter = 468 B, current = 0 bit/s, smoothed = 0 bit/s | |
2014-05-09 19:17:30,469 - DEBUG - Waiting 100 miliseconds | |
2014-05-09 19:17:30,570 - DEBUG - [eth1] speed = 1000, BW_MIN = 600000000 bit/s, BW_MAX = 900000000 bit/s | |
2014-05-09 19:17:30,570 - DEBUG - [eth1] counter = 468 B, current = 0 bit/s, smoothed = 0 bit/s | |
2014-05-09 19:17:30,570 - DEBUG - Waiting 100 miliseconds | |
^C2014-05-09 19:17:30,637 - INFO - Quiting... | |
2014-05-09 19:17:30,637 - INFO - Done. | |
vagrant@precise64:/vagrant/monitor$ cat BLEH | csvlook -d';' | |
|----------------+-----------+---------------+---------------+------------------------+-------+--------------+--------------+-------+-----------| | |
| ts | interface | bytes counter | current bit/s | current smoothed bit/s | speed | BW_MIN bit/s | BW_MAX bit/s | event | new cost | | |
|----------------+-----------+---------------+---------------+------------------------+-------+--------------+--------------+-------+-----------| | |
| 1399663049.96 | eth1 | 468 | 0 | 0 | 1000 | 600000000 | 900000000 | none | | | |
| 1399663050.06 | eth1 | 468 | 0 | 0 | 1000 | 600000000 | 900000000 | none | | | |
| 1399663050.16 | eth1 | 468 | 0 | 0 | 1000 | 600000000 | 900000000 | none | | | |
| 1399663050.27 | eth1 | 468 | 0 | 0 | 1000 | 600000000 | 900000000 | none | | | |
| 1399663050.37 | eth1 | 468 | 0 | 0 | 1000 | 600000000 | 900000000 | none | | | |
| 1399663050.47 | eth1 | 468 | 0 | 0 | 1000 | 600000000 | 900000000 | none | | | |
| 1399663050.57 | eth1 | 468 | 0 | 0 | 1000 | 600000000 | 900000000 | none | | | |
|----------------+-----------+---------------+---------------+------------------------+-------+--------------+--------------+-------+-----------| |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment