This repository has been archived by the owner on Mar 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathstats.sh
executable file
·153 lines (142 loc) · 4.48 KB
/
stats.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
#!/bin/bash
source config.ini
function View
{
clear
routine1=0
while [[ $routine != "1" ]]
do
echo ""
echo " SELECT A SQL OPTION FROM BELOW "
echo ""
echo ""
echo " Network Level Statistics"
echo ""
echo " 0 = Mons scanned (from pokemon)"
echo ""
echo " 1 = Spawnpoints"
echo ""
echo " 2 = Spawn time left"
echo ""
echo " 3 = Area overview"
echo ""
echo " 4 = Mons scanned (worker based)"
echo ""
echo " 5 = Location handling (worker based)"
echo ""
echo " 6 = Reboot/restart data"
echo ""
echo " 7 = Quests scanned"
echo ""
echo " Area Level Statistics"
echo ""
echo " 10 = Mons scanned (from pokemon) "
echo ""
echo " 11 = Spawnpoints "
echo ""
echo " 12 = Spawn time left "
echo ""
echo " 13 = Worker overview "
echo ""
echo " 14 = Mons scanned (Worker based) "
echo ""
echo " 15 = Location handling (Worker based)"
echo ""
echo " 16 = Reboot/restart data"
echo ""
echo " 17 = Quests scanned"
echo ""
echo " Worker Level Statistics "
echo ""
echo " 20 = Mons scanned "
echo ""
echo " 21 = Location handling "
echo " 21a = Top 20 worst location handling devices"
echo ""
echo " 22 = Reboot/restart data "
echo ""
echo " 23 = Quests scanned "
echo " 23a All wokers Quest scanned summed by date"
echo " 23b #quest hours per device"
echo ""
echo " Non performance stuff "
echo ""
echo " 30 = Non performance stuff "
echo ""
echo " Own stuff "
echo ""
echo " 40 = Goto own stuff "
echo ""
echo ""
echo " q = QUIT "
echo ""
echo ""
date '+%m%d%y_%H%M' | read -r AUTODATE
read opt
echo $USER $AUTODATE $opt >> Log.txt
clear
# echo ""
case $opt in
q) echo""
routine=1
exit
;;
0) $PATH_TO_STATS/progs/n_mons_scanned.sh
;;
1) $PATH_TO_STATS/progs/n_spawnpoints.sh
;;
2) $PATH_TO_STATS/progs/n_timeleft.sh
;;
3) $PATH_TO_STATS/progs/n_area_overview.sh
;;
4) $PATH_TO_STATS/progs/n_mons_scanned_w.sh
;;
5) $PATH_TO_STATS/progs/n_location.sh
;;
6) $PATH_TO_STATS/progs/n_rebres.sh
;;
7) $PATH_TO_STATS/progs/n_quests.sh
;;
10) $PATH_TO_STATS/progs/mons_scanned.sh
;;
11) $PATH_TO_STATS/progs/spawnpoints.sh
;;
12) $PATH_TO_STATS/progs/timeleft.sh
;;
13) $PATH_TO_STATS/progs/worker_overview.sh
;;
14) $PATH_TO_STATS/progs/mons_scanned_w.sh
;;
15) $PATH_TO_STATS/progs/location.sh
;;
16) $PATH_TO_STATS/progs/rebres.sh
;;
17) $PATH_TO_STATS/progs/quests.sh
;;
20) $PATH_TO_STATS/progs/mons_scanned_worker.sh
;;
21) $PATH_TO_STATS/progs/location_worker.sh
;;
21a) $PATH_TO_STATS/progs/location_noobs.sh
;;
22) $PATH_TO_STATS/progs/rebres_worker.sh
;;
23) $PATH_TO_STATS/progs/quests_worker.sh
;;
23a) $PATH_TO_STATS/progs/quests_all_worker_summed.sh
;;
23b) $PATH_TO_STATS/progs/quest_hours_device.sh
;;
30) $PATH_TO_STATS/otherStuff.sh
;;
40) $PATH_TO_STATS/statsOwnStuff.sh
;;
esac
# echo ""
echo " Press ENTER to return to main menu"
read hold
clear
done
clear
}
View