Skip to content
Snippets Groups Projects
shunhan2's avatar
shunhan2 authored
ead63c78
History
Name Last commit Last update
MP2.py
README.md
file.sh
file_analyzer.py

ECE428_MP2

MP2.py is the main program. Others are script used to analyze log file and draw pics.

  1. MP2.py

Main program

-Download the file from URL link
-Update it to the VMs
-Type python MP2.py CONNECT {node number} {ip} {port} to start

See report for more details.

  1. file.sh

-Put all the transaction_nodeX.log files together
-run file.sh to get "sorted_trans.log" for further analysis

  1. file_analyzer.py

Used to draw propagation and reached nodes pic

-put "sorted_trans.log" to current directory
-run file_analyzer.py to generate figures