nohup prefix command (to keep the process from being killed when the terminal closes) and the & suffix (to run the process in the background so it doesn't tie up the terminal):nohup pig -f xxx.pig &Type exit or press CTRL + D exit from remote server
Check the Pid of running kafka
ps axw | grep -i 'kafka' | grep java | grep -v grep | awk '{print $1}'
No comments:
Post a Comment