RE: nohup jobs

  • From: "Hately, Mike (LogicaCMG)" <mike.hately@xxxxxxxxxx>
  • To: "'oracle-l@xxxxxxxxxxxxx'" <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 3 Feb 2004 12:40:46 -0000

Jack's correct. The first output "[1]     87" indicates that you have a
backgrounded job.
The "1" is your job number and the "87" is your UNIX process ID.
At this point your rcp command is running in the background.
The "[1] +  Done          nohup file1 >file1.out &" line indicates that your
rcp command has completed.
You will not receive this message until the backgrounded command has
completed.

Cheers,
Mike Hately


-----Original Message-----
From: Jack van Zanen [mailto:JACK@xxxxxxxxxxxxxxx]
Sent: 03 February 2004 12:17
To: 'oracle-l@xxxxxxxxxxxxx'
Subject: RE: nohup jobs


Hi

Not a UNIX expert but I think the & at the end tells it to return the prompt
and run in the background. Returning the prompt is an almost instant job and
that is wath you get confirmed

Jack



-----Original Message-----
From: Kommareddy, Srinivas (MED, Wissen Infotech)
[mailto:Srinivas.Kommareddy@xxxxxxxxxx] 
Sent: Tuesday, February 03, 2004 12:54 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: nohup jobs


Hi All,
 
Could somebody explain me the behaviour of the following unix job:
 
This job is copying the files from 1 server to another server using rcp:
 
Syntax goes like this:
 
rcp -r /u02/app/applmgr/common/inst1/*
srvr2:/u02/app/applmgr/common/inst2/. &   
 
I put this in a file and chmod it to 755 and executed it in background. 
 
nohup file1 >file1.out &
[1]     87
 
in the next moment it has comeout immediately.
 
[1] +  Done                      nohup file1 >file1.out &   
 
but the rcp went fine successfully. 
 
The question is why the job has come out stating Done eventhoug the rcp is
running.
 
Thanks and Regards, 
Srinivas 
 
 

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx put
'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------


********************************************************************************************
E mail Disclaimer

You agree that you have read and understood this disclaimer and you agree to be 
bound by its terms.

The information contained in this e-mail and any files transmitted with it (if 
any) are confidential and intended for the addressee only.  If you have 
received this  e-mail in error please notify the originator.    

This e-mail and any attachments have been scanned for certain viruses prior to 
sending but CE Electric UK Funding Company nor any of its associated companies 
from whom this e-mail originates shall be liable for any losses as a result of 
any viruses being passed on.

No warranty of any kind is given in respect of any information contained in 
this   e-mail and you should be aware that that it might be incomplete, out of 
date or incorrect. It is therefore essential that you verify all such 
information with us before placing any reliance upon it.

CE Electric UK Funding Company
Lloyds Court
78 Grey Street
Newcastle upon Tyne
NE1 6AF
Registered in England and Wales: Number 3476201

********************************************************************************************

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: