RE: nohup jobs

  • From: Rachel Carmichael <wisernet100@xxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Tue, 3 Feb 2004 05:04:33 -0800 (PST)

yes the rcp is still running, you submitted it to run in the background
and it has not completed yet

the DONE message you got was about the nohup command itself NOT the rcp


--- "Kommareddy, Srinivas (MED, Wissen Infotech)"
<Srinivas.Kommareddy@xxxxxxxxxx> wrote:
> 
> Hi,
> 
> But still my rcp is running.
> 
> Please see this: 
> (checked after 1 hr, the rcp is running, file count and size is
> growing)
> 
> applmgr 23825  1632  0 11:40:50 ?        0:44 /usr/lib/sunw,rcp -r -d
> -t
> /u02/app/applmgr/common/inst2/.
> 
> This is from target server, I checked.
> 
> Thanks and Regards,
> 
> Srinivas
> 
> -----Original Message-----
> From: oracle-l-bounce@xxxxxxxxxxxxx
> [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
> On Behalf Of Rachel Carmichael
> Sent: Tuesday, February 03, 2004 6:14 PM
> To: oracle-l@xxxxxxxxxxxxx
> Subject: Re: nohup jobs
> 
> The & on the rcp command says "run it in the background". the & at
> the
> end of the nohup command says run it in the background as well.
> 
> So the nohup submits the rcp to the background and finishes right
> away
> -- correctly for the way you have programmed it.
> 
> If you want the nohup to continue until the rcp finishes, remove the
> &
> from the rcp line
> 
> 
> --- "Kommareddy, Srinivas (MED, Wissen Infotech)"
> <Srinivas.Kommareddy@xxxxxxxxxx> wrote:
> > 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
> > -----------------------------------------------------------------
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
> http://webhosting.yahoo.com/ps/sb/
> ----------------------------------------------------------------
> 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
> -----------------------------------------------------------------


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
----------------------------------------------------------------
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
-----------------------------------------------------------------
  • References:

Other related posts: