mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
Add scripts
This commit is contained in:
parent
ef2e3e593e
commit
d1bb37d2b9
10
package/stresstest/copyDir.sh
Executable file
10
package/stresstest/copyDir.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /Users/mk/Library/Application\ Support
|
||||
|
||||
for i in `seq 101 500`;
|
||||
do
|
||||
dir=BS_$i
|
||||
mkdir $dir
|
||||
cp -av BS_/* $dir/
|
||||
done
|
23
package/stresstest/startnodes.sh
Executable file
23
package/stresstest/startnodes.sh
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd ../../seednode/target
|
||||
|
||||
logpath=/Users/mk/Documents/_intellij/bitsquare
|
||||
|
||||
nohup java -jar SeedNode.jar hlitt7z4bec4kdh4.onion:8000 0 500 >/dev/null 2>$logpath/stresstest_seednode.log &
|
||||
sleep 40
|
||||
|
||||
cd ../../gui/target
|
||||
nohup java -jar shaded.jar --app.name=BS_arb --maxConnections=500 >/dev/null 2>$logpath/stresstest_arb.log &
|
||||
sleep 40
|
||||
|
||||
delay=5
|
||||
for i in `seq 1 10`;
|
||||
do
|
||||
echo $i
|
||||
nohup java -jar shaded.jar --app.name=BS_$i --maxConnections=500 >/dev/null 2>$logpath/stresstest_$i.log &
|
||||
sleep $delay
|
||||
done
|
||||
|
||||
# kill `ps -ef | grep java | grep -v grep | awk '{print $2}'`
|
||||
|
Loading…
Reference in New Issue
Block a user