init
This commit is contained in:
8
studio/install/16gdata/data-standard-service.sh
Normal file
8
studio/install/16gdata/data-standard-service.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
source /etc/profile
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
|
||||
nohup java -jar -Xms128m -Xmx2048m -XX:PermSize=128M -XX:MaxPermSize=256M -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -XX:MaxInlineLevel=15 ./data-standard-service/data-standard-service.jar --server.port=8825 > data-standard-service.log 2>&1 &
|
||||
|
||||
8
studio/install/16gdata/data-visual-service.sh
Normal file
8
studio/install/16gdata/data-visual-service.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
source /etc/profile
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
|
||||
nohup java -jar -Xms128m -Xmx2048m -XX:PermSize=128M -XX:MaxPermSize=256M -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -XX:MaxInlineLevel=15 ./data-visual-service/data-visual-service.jar --server.port=8827 > data-visual-service.log 2>&1 &
|
||||
|
||||
8
studio/install/16gdata/email-service.sh
Normal file
8
studio/install/16gdata/email-service.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
source /etc/profile
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
|
||||
nohup java -jar -Xms128m -Xmx2048m -XX:PermSize=128M -XX:MaxPermSize=256M -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -XX:MaxInlineLevel=15 ./email-service/email-service.jar --server.port=8812 > email-service.log 2>&1 &
|
||||
|
||||
8
studio/install/16gdata/file-service.sh
Normal file
8
studio/install/16gdata/file-service.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
source /etc/profile
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
|
||||
nohup java -jar -Xms128m -Xmx2048m -XX:PermSize=128M -XX:MaxPermSize=256M -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -XX:MaxInlineLevel=15 ./file-service/file-service.jar --server.port=8811 > data-market-service.log 2>&1 &
|
||||
|
||||
8
studio/install/16gdata/gateway.sh
Normal file
8
studio/install/16gdata/gateway.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
source /etc/profile
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
|
||||
nohup java -jar -Xms1024m -Xmx2048m -XX:PermSize=128M -XX:MaxPermSize=256M -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -XX:MaxInlineLevel=15 ./gateway/gateway.jar --server.port=9538 > gateway.log 2>&1 &
|
||||
|
||||
8
studio/install/16gdata/quartz-service.sh
Normal file
8
studio/install/16gdata/quartz-service.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
source /etc/profile
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
|
||||
nohup java -jar -Xms128m -Xmx2048m -XX:PermSize=128M -XX:MaxPermSize=256M -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -XX:MaxInlineLevel=15 ./quartz-service/quartz-service.jar --server.port=8813 > quartz-service.log 2>&1 &
|
||||
|
||||
24
studio/install/16gdata/start16gdata.sh
Normal file
24
studio/install/16gdata/start16gdata.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
source /etc/profile
|
||||
|
||||
# gateway单独启动
|
||||
#echo "即将启动任务gateway"
|
||||
#sh gateway.sh
|
||||
#sleep 15s
|
||||
|
||||
echo "即将启动任务standard"
|
||||
sh data-standard-service.sh
|
||||
|
||||
echo "即将启动任务visual"
|
||||
sh data-visual-service.sh
|
||||
|
||||
echo "即将启动任务email"
|
||||
sh email-service.sh
|
||||
|
||||
echo "即将启动任务file"
|
||||
sh file-service.sh
|
||||
|
||||
echo "即将启动任务quartz"
|
||||
sh quartz-service.sh
|
||||
|
||||
|
||||
27
studio/install/16gdata/status16gdata.sh
Normal file
27
studio/install/16gdata/status16gdata.sh
Normal file
@@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
source /etc/profile
|
||||
|
||||
pid=$(ps -ef | grep gateway.jar | grep -Ev 'color=auto' | awk '{print $2}')
|
||||
|
||||
echo "已启动gateway: $pid"
|
||||
|
||||
pid=$(ps -ef | grep data-standard-service.jar | grep -Ev 'color=auto' | awk '{print $2}')
|
||||
|
||||
echo "已启动standard: $pid"
|
||||
|
||||
pid=$(ps -ef | grep data-visual-service.jar | grep -Ev 'color=auto' | awk '{print $2}')
|
||||
|
||||
echo "已启动visual: $pid"
|
||||
|
||||
|
||||
pid=$(ps -ef | grep email-service.jar | grep -Ev 'color=auto' | awk '{print $2}')
|
||||
|
||||
echo "已启动email: $pid"
|
||||
|
||||
pid=$(ps -ef | grep file-service.jar | grep -Ev 'color=auto' | awk '{print $2}')
|
||||
|
||||
echo "已启动file: $pid"
|
||||
|
||||
pid=$(ps -ef | grep quartz-service.jar | grep -Ev 'color=auto' | awk '{print $2}')
|
||||
|
||||
echo "已启动quartz: $pid"
|
||||
51
studio/install/16gdata/stop16gdata.sh
Normal file
51
studio/install/16gdata/stop16gdata.sh
Normal file
@@ -0,0 +1,51 @@
|
||||
#!/bin/sh
|
||||
source /etc/profile
|
||||
|
||||
pid=$(ps -ef | grep data-standard-service.jar | grep -Ev 'color=auto' | awk '{print $2}')
|
||||
|
||||
echo "即将杀死任务standard: $pid"
|
||||
|
||||
kill -9 $pid
|
||||
|
||||
echo "已杀死任务: $pid"
|
||||
|
||||
|
||||
pid=$(ps -ef | grep data-visual-service.jar | grep -Ev 'color=auto' | awk '{print $2}')
|
||||
|
||||
echo "即将杀死任务visual: $pid"
|
||||
|
||||
kill -9 $pid
|
||||
|
||||
echo "已杀死任务: $pid"
|
||||
|
||||
pid=$(ps -ef | grep email-service.jar | grep -Ev 'color=auto' | awk '{print $2}')
|
||||
|
||||
echo "即将杀死任务email: $pid"
|
||||
|
||||
kill -9 $pid
|
||||
|
||||
echo "已杀死任务: $pid"
|
||||
|
||||
pid=$(ps -ef | grep file-service.jar | grep -Ev 'color=auto' | awk '{print $2}')
|
||||
|
||||
echo "即将杀死任务file: $pid"
|
||||
|
||||
kill -9 $pid
|
||||
|
||||
echo "已杀死任务: $pid"
|
||||
|
||||
pid=$(ps -ef | grep quartz-service.jar | grep -Ev 'color=auto' | awk '{print $2}')
|
||||
|
||||
echo "即将杀死任务quartz: $pid"
|
||||
|
||||
kill -9 $pid
|
||||
|
||||
echo "已杀死任务: $pid"
|
||||
|
||||
pid=$(ps -ef | grep gateway.jar | grep -Ev 'color=auto' | awk '{print $2}')
|
||||
|
||||
echo "即将杀死任务gateway: $pid"
|
||||
|
||||
kill -9 $pid
|
||||
|
||||
echo "已杀死任务: $pid"
|
||||
Reference in New Issue
Block a user