Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
Practical-Cryptdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhaozhen
Practical-Cryptdb
Commits
6bd98611
Commit
6bd98611
authored
Jan 29, 2018
by
yiwenshao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add startMultipleInstance
parent
bc0fdae0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
startMultipleInstance.sh
startMultipleInstance.sh
+23
-0
No files found.
startMultipleInstance.sh
0 → 100755
View file @
6bd98611
base
=
opnow
objDir
=
main
#source
numOfInstance
=
4
command
=
"sleep 1;echo hehe > log.log &"
rm
-rf
$base
#create directory
for
((
i
=
1
;
i<
=
$numOfInstance
;
i++
))
;
do
mkdir
-p
$base
/ins
$i
echo
"copy source"
$i
cp
-r
$objDir
/
*
$base
/ins
$i
echo
"copy mtl "
$i
cp
-r
mtl
$base
/ins
$i
done
for
((
i
=
1
;
i<
=
$numOfInstance
;
i++
))
;
do
cd
$base
/ins
$i
echo
"start instance "
$i
eval
$command
cd
-
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment