8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2dc971 commit f46650eCopy full SHA for f46650e
scripts/obfs-script.sh
@@ -0,0 +1,23 @@
1
+#!/usr/bin/env bash
2
+###########################################################
3
+INPUT_DIR=java-large
4
+OUTPUT_DIR=java-large-test
5
+NUM_PARTITIONS=1
6
+NUM_THREADS=13
7
+ARGS="-Xmx13g"
8
+
9
10
11
+mkdir -p ${OUTPUT_DIR}
12
13
+counter=1
14
+while [ $counter -le $NUM_PARTITIONS ]
15
+do
16
+ echo "Starting partition ${counter}"
17
+ echo $(date +%d-%m-%Y" "%H:%M:%S)
18
+ java ${ARGS} -jar java-tool.jar -s ${INPUT_DIR} -t ${OUTPUT_DIR} -pNum ${counter} -pTotal ${NUM_PARTITIONS} -threads ${NUM_THREADS} &>> obfs_output.txt
19
+ killall -s 9 java
20
+ ((counter++))
21
+done
22
23
+echo All done
0 commit comments