Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

nohup sh xxx.sh & or nohup ./xxx.sh &

redologgerJul 14 2013 — edited Jul 22 2013


hi guys,

i couldn't find any unix forum here thus try to post it under this catogory.

is there a difference between -> nohup sh xxx.sh &  or  nohup ./xxx.sh &

i did the 2nd one and not too sure my problem is related to the way i executed my command.

i did a,

ps -ef | grep xxx.sh

and did a kill -9 <processID>

I am expecting a log file but there is no size after i have kill it.

There is a error saying that there is no such process exist but i am very clear that i have kill the correct one.

Back in my OEM, is very strange that my session is still running as a difference OS process ID. in the end, i have to kill it from the OEM to stop my sql that is running on the background on my unix server.

Any advice is appreciated. Thank you.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2013
Added on Jul 14 2013
3 comments
2,182 views