Commit c3b24be8 authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Robustified and cleaned up monitor.py. Pruned dead code. Consistentified error...

Robustified and cleaned up monitor.py. Pruned dead code. Consistentified error reporting. Added a fake-running option and a script to use it so that it can be tested on libnetmon logs without sending events etc. rather than being run in real time.
parent 48acc8e3
This diff is collapsed.
# Run in directory of monitor.
# Usage: run-fake.sh <path-to-logs>
#
# Example:
#
# run-fake.sh /proj/tbres/exp/pelab-generated/logs/elab-1
python monitor.py --mapping=$1/local/logs/ip-mapping.txt --experiment=foo/bar \
--ip=127.0.0.1 --initial=$1/local/logs/initial-conditions.txt --fake \
< $1/local/logs/libnetmon.out
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment