I love the java series --- [linux system deployment project common commands]

linux system deployment project common commands

1. Start time, stop the service closes the connection page

java -jar xxx.jar

2. Start once the project running in the background

 nohup java -jar xxx.jar >temp.txt &

3. Check the running project

ps -ef | grep java

4. Stop the running project

kill -9  17089

Guess you like

Origin www.cnblogs.com/hujunwei/p/12040547.html