-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmonitor_bulk_example.sh
More file actions
executable file
·28 lines (23 loc) · 1.1 KB
/
monitor_bulk_example.sh
File metadata and controls
executable file
·28 lines (23 loc) · 1.1 KB
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
#!/usr/bin/env bash
set -euo pipefail
##################################################
# Scenario Wrapper: #
# From Home, #
# Private laptop #
# No Corporate Proxy #
# tests in Parallel (limit to 8) mode #
##################################################
# Note: this will put a load on your network, so be careful with this setting.
# Always set SITUATION to guarantee repeatable wel defined tests
SITUATION=${SITUATION:-atHome_Privatelaptop_NoCorpProxy_ParallelTest}
PARALLEL=${PARALLEL:-8}
ITERATIONS=${ITERATIONS:-1}
OUT_DIR=${OUT_DIR:-$(pwd)}
OUT_BASENAME=${OUT_BASENAME:-monitor_results}
LOG_LEVEL=${LOG_LEVEL:-info}
SITES=${SITES:-./sites.jsonc}
ANALYSIS_BATCHES=${ANALYSIS_BATCHES:-15}
# Export so exec'd core script receives them in its environment
export SITUATION PARALLEL ITERATIONS OUT_DIR OUT_BASENAME LOG_LEVEL SITES ANALYSIS_BATCHES
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
exec "$SCRIPT_DIR/monitor_core.sh"