28 Eylül 2011 Çarşamba

ODI agent.sh nohup command + without out file

Here it is the issue , you run your agent with nohup command ... but later maybe oneday one week or one year whatever.. your nohup.out file will be turned into a big file, which causes problem in your disk spaces.How about Solution ? ... quite simple first stop your agent then delete the big nohup.out file and then run the following script

nohup sh agent.sh "-port=PORT_NUMBER" "-name=AGENT_NAME" >/dev/null 2>&1&

Hiç yorum yok:

Yorum Gönder