后台启动并记录输出命令:
nohup grunt server &>/tmp/elasticsearch-head &
nohup /opt/apache-activemq-5.9.0/bin/activemq start &>/dev/null &
查看进程详细包含用户和它启动的时间
ps aux | grep xxx
后台启动并记录输出命令:
nohup grunt server &>/tmp/elasticsearch-head &
nohup /opt/apache-activemq-5.9.0/bin/activemq start &>/dev/null &
查看进程详细包含用户和它启动的时间
ps aux | grep xxx
转载于:https://www.cnblogs.com/gscq073240/articles/9458678.html