aboutsummaryrefslogtreecommitdiff
path: root/wrap2.sh
blob: 8d616453e95aaabd795479536298bd1fd7af36a3 (plain)
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
#!/bin/sh

# final end value should be near: 21260965
# run4 end value, to stop right before vm4 loop:
# run8 end value: 21281500
test -z "${ENDVALUE}" && ENDVALUE=21281500

# run1 start value: 19899000
# run2 start value: 19903845
# run3 start value: 20365401
# run4 start value: 20367770
# run5 start value: 20369832
# run6 start value: 20450916
# run7 start value: 20497306
# run8 is after vm4 run: 20811621
test -z "${STARTVALUE}" && STARTVALUE=20811621

test -z "${LOGFILE}" && LOGFILE=~/dev/vooblystats/files/run8.csv

cat /dev/null > "${LOGFILE}"
{
   printf "%s %s\n" "START" "$( date -u "+%FT%TZ" )"
   ./vooblystats.py --start "${STARTVALUE}" --end "${ENDVALUE}"
   printf "%s %s\n" "END" "$( date -u "+%FT%TZ" )"
} 2>&1 | tee -a "${LOGFILE}"
bgstack15