后台启动:nohup ./start.sh >> ./output.log 2>&1 &
nohup ./start.sh >> ./output.log 2>&1 &
后台启动,进程输出到单独文件:nohup ./start.sh >> nohuo.log 2&>1 & echo $! pidfile.txt
nohup ./start.sh >> nohuo.log 2&>1 & echo $! pidfile.txt
查询进程id:ps -aux|grep ./rocm.sh
ps -aux|grep ./rocm.sh
周凯
这个人很懒,什么都没留下
文章评论