CentOS查看Java进程并部署jar包 查看Java进程获取pid号: ps -ef|grep java|grep -v grep 部署Javajar包并指定输出日志文件(null不输出): nohup java -jar xx.jar >/dev/null &