Hi,
I ran a program like following
sample.sh &
Later I realized that this job will take more hours to complete. Since it consumed 2 hours dat aprocessing and I don't want to terminate and then start the job like
nohup sample.sh &
Can you please tell me, is it possible to make this job no hangup with out terminating it ?
Shahnaz.
Thank you.
I don't have bash shell in unix flavour. My Os is AIX 5.2 and my script runs under Korn shell.
Scott
May 20, 2010, 10:41am
4
Hi.
On AIX, you can try using
nohup -p PID
Thank you.
I can use option -p from AIX 5.3 onwards but my version was 5.2 !
Thanks,
Shahnaz.
drl
May 20, 2010, 5:32pm
6
Hi.
The version of AIX I use is 5.1. The page at man ksh includes the text:
An enchanced [sic] version of the korn shell, called ksh93, is also available. The
enhanced Korn shell has additional features that are not available in the
default Korn shell. For information regarding these additional features, refer
to Enhanced Korn Shell in AIX 5L Version 5.1 System User's Guide: Operating
System and Devices.
Simply trying command disown in ksh93 yields:
$ disown xx
ksh93: disown: xx: Arguments must be %job or process ids.
Perhaps that will work on 5.2, 5.3 ... cheers, drl