Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: NOHUP SQLPLUS

RE: NOHUP SQLPLUS

From: Deshpande, Kirti <kirti.deshpande_at_verizon.com>
Date: Mon, 04 Feb 2002 12:55:34 -0800
Message-ID: <F001.0040569B.20020204125407@fatcity.com>

Bambi,

This does not work with some Third party software (e.g. IBM: ADSM/TSM). Some prgrams will capture tty nonetheless and will terminate if the session from the tty goes away.
So I always use a wrapper shell script with a 'sleep' in it.. I was under the impression that 'nohup <command> &' was universally true.. and have used it without any problems for years on almost all flavors of UNIX... till I started working with some 'smart' software...

Regards,
- Kirti

-----Original Message-----

Sent: Monday, February 04, 2002 1:56 PM
To: Multiple recipients of list ORACLE-L

Dick --

You're kidding. If you do

nohup <command> &

it should stay up indefinitely. Nohup stands for "no hang up" which would have been, in the old days if your terminal timed out and the connection was severed over the phone line. Using nohup would guarantee your job ran to completion. The trick is to run it in background. That's what the ampersand does for you.

I've run really long and complicated stuff via nohup and never had a problem. If you have, then I suppose we should say which OSs it worked on and which it didn't. I've run nohup without problem on AIX, HP-UX, SunOS, Solaris, 88Open and Irix.

HTH,
Bambi.

-
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Deshpande, Kirti
  INET: kirti.deshpande_at_verizon.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Feb 04 2002 - 14:55:34 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US