#!/bin/sh

JAVA_ARGS="-server -Xmx700M -Xms700M -XX:+PrintClassHistogram -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -Xloggc:log/gc.log";

echo $JAVA_ARGS

rm -f /home/huanwei/lx-server-integrated/nohup.out
nohup java -jar /home/huanwei/lx-server-integrated/lx-server-integrated.jar $JAVA_ARGS &
sleep 2
tail -f /home/huanwei/lx-server-integrated/nohup.out
