You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,17 +9,21 @@ To use the tool the following tools needs to be installed on the machine:
9
9
10
10
### Usage
11
11
The crawler can be easily executed from the `armiarma.sh` file (make sure that is an executable file).
12
-
The executable `armiarma.sh` launching shell script supports three different commands that correspond to the main functionalities of the tool.
12
+
The executable `armiarma.sh` launching shell script supports five different commands that correspond to the main functionalities of the tool.
13
13
Those commands are:
14
14
15
15
-`./armiarma.sh -h` to display the help text of the tool.
16
16
-`./armiarma.sh -c [network] [project-name]` to launch the armiarma crawler on the given network. The given project-name is the name of the folder where the gathered metrics and where all the related information will be saved. The folder will be placed on the `./examples` folder.
17
17
-`./armiarma.sh -p [project-name]` to launch the armiarma analyzer over the metrics from the given project. The generted plots of the analysis will be saved on the `./examples/[project-name]/plots` folder.
18
+
-`./armiarma.sh -f [network] [project-name] [time]` to launch the armiarma crawler on the given network for the given `time` in minutes. The given project-name is the name of the folder where the gathered metrics and where all the related information will be saved. The folder will be placed on the `./examples` folder. After the crawling for the given time, the analyzer will be launched automatically. The summary results will be saved on the `./examples/[project-name]/plots` folder.
19
+
-`./armiarma.sh -o` to launch the armiarma general overview analyzer over the metrics from the projects' folder. The generted results of the analysis will be saved on the `./general-resutls` folder.
18
20
19
21
```
20
22
./armiarma.sh --> -h
21
23
'-> -c [network] [project-name]
22
24
'-> -p [project-name]
25
+
'-> -f [network] [project-name] [time](minutes)
26
+
'-> -o
23
27
```
24
28
25
29
The tool will get the Go packages and compile Rumor as generate the virtual env and install the python3 dependencies for the user.
Copy file name to clipboardExpand all lines: src/analyzer/armiarma-analyzer.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -752,7 +752,7 @@ def main():
752
752
753
753
## -- website code --
754
754
print("\n")
755
-
print("Results from crawler run on [month] running for [crawling time].<br>Total amount of peers on the peerstore:", peerstoreLen,".<br>Number of clients with the TPC port at 13000 (Prysm?):", cnt13000,".<br>Percentage of 'Prysm' peers from the peerstore (based on the TCP port):", round((cnt13000*100)/peerstoreLen,2),"%.<br>We manage to connect with", succeed,"peers from the peerstore.<br>This would be the distribution.")
755
+
print("Results from crawler run on [month] running for [crawling time].\n<br>Total amount of peers on the peerstore:", peerstoreLen,".\n<br>Number of clients with the TPC port at 13000 (Prysm?):", cnt13000,".\n<br>Percentage of 'Prysm' peers from the peerstore (based on the TCP port):", round((cnt13000*100)/peerstoreLen,2),"%.\n<br>We manage to connect with", succeed,"peers from the peerstore.\n<br>This would be the distribution.")
756
756
print("\n")
757
757
758
758
@@ -818,15 +818,15 @@ def main():
818
818
'textSize': textSize+2,
819
819
'yLowLimit': None,
820
820
'yUpperLimit': None,
821
-
'title': "Distribution of the detected errors",
822
-
'xlabel': 'Number of peers',
821
+
'title': "Distribution of the Experienced Connection Errors",
0 commit comments