-
Notifications
You must be signed in to change notification settings - Fork 0
hsg77/closeprocess
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
使用java开发的在linux下关闭进程的方法 使用案例: 关闭 hbase的方法 和重新启动hbase #!/bin/bash stop-hbase.sh runCmd.sh "java -cp /usr/cwgis/tools/closeprocess.jar com.cwgis.closeprocess.Main HRegionServer" all runCmd.sh "java -cp /usr/cwgis/tools/closeprocess.jar com.cwgis.closeprocess.Main HMaster" all runCmd.sh "rm -r -f /usr/cwgis/app/hbase/logs/*" all start-hbase.sh 关闭spark的方法 #!/bin/bash stop-slaves.sh runCmd.sh "stop-master.sh" master runCmd.sh "java -cp /usr/cwgis/tools/closeprocess.jar com.cwgis.closeprocess.Main Master" all runCmd.sh "java -cp /usr/cwgis/tools/closeprocess.jar com.cwgis.closeprocess.Main Worker" all
About
closeprocess java linux
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published