niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » AIX
nohup
Post new topic   Reply to topic Page 1 of 1 [10 Posts] View previous topic :: View next topic
Author Message
vinayag
*nix forums beginner


Joined: 11 Jul 2006
Posts: 7

PostPosted: Sun Jul 16, 2006 9:11 am    Post subject: nohup Reply with quote

hi,

i am running the job command wiht nohup options,
the jobs will take 4 to 5 hours to complete,

after i excute the command, then i make exit to comeout of the
terminal,

but problem i faced is , i am trying to exit but the window does'nt
close the screen,

it takes more than 45 minutes. then i close the window, ( i am using
putty tool)

i need to know y this problem comes when i using nohup cmd.

-----
Back to top
0xbeef
*nix forums addict


Joined: 01 Jul 2005
Posts: 72

PostPosted: Sun Jul 16, 2006 4:07 pm    Post subject: Re: nohup Reply with quote

vinayag wrote:
Quote:
hi,
problem i faced is , i am trying to exit but the window does'nt
close the screen,

Are you using SSH to make your connections?

Niel
Back to top
jpires@yakka.com.au
*nix forums beginner


Joined: 10 Aug 2005
Posts: 6

PostPosted: Mon Jul 17, 2006 10:04 am    Post subject: Re: nohup Reply with quote

Niel Lambrechts wrote:
Quote:
vinayag wrote:
hi,
problem i faced is , i am trying to exit but the window does'nt
close the screen,

Are you using SSH to make your connections?

Niel



try:

# nohup <your_command> &
#
Back to top
jpires@yakka.com.au
*nix forums beginner


Joined: 10 Aug 2005
Posts: 6

PostPosted: Mon Jul 17, 2006 10:05 am    Post subject: Re: nohup Reply with quote

Niel Lambrechts wrote:
Quote:
vinayag wrote:
hi,
problem i faced is , i am trying to exit but the window does'nt
close the screen,

Are you using SSH to make your connections?

Niel



try:

# nohup <your_command> &
#
Back to top
cnalletamby@gmail.com
*nix forums beginner


Joined: 17 Jul 2006
Posts: 1

PostPosted: Mon Jul 17, 2006 11:26 am    Post subject: Re: nohup Reply with quote

jp wrote:
Quote:
Niel Lambrechts wrote:
vinayag wrote:
hi,
problem i faced is , i am trying to exit but the window does'nt
close the screen,

Are you using SSH to make your connections?

Niel



try:

# nohup <your_command> &
#

I have the same problem, using nohup and &.
Funny, when the same command is run with Exceed (XWindow) instead of
putty, there is no problem.
I close the window (click on 'X'), because the PPID of the process is
already 1, all goes fine...
Back to top
vinayag
*nix forums beginner


Joined: 11 Jul 2006
Posts: 7

PostPosted: Mon Jul 17, 2006 5:13 pm    Post subject: Re: nohup Reply with quote

hi niel,

s, i'm using SSH only.

vina


Niel Lambrechts wrote:
Quote:
vinayag wrote:
hi,
problem i faced is , i am trying to exit but the window does'nt
close the screen,

Are you using SSH to make your connections?

Niel
Back to top
0xbeef
*nix forums addict


Joined: 01 Jul 2005
Posts: 72

PostPosted: Mon Jul 17, 2006 5:23 pm    Post subject: Re: nohup Reply with quote

vinayag wrote:
Quote:
hi niel,
i'm using SSH only.


Right, then the problem is understandable.

See http://www.snailbook.com/faq/background-jobs.auto.html.

Regards,
Niel
Back to top
Laurenz Albe
*nix forums Guru


Joined: 21 Feb 2005
Posts: 478

PostPosted: Tue Jul 18, 2006 8:32 am    Post subject: Re: nohup Reply with quote

vinayag <ravinayag@gmail.com> wrote:
Quote:
hi niel,

s, i'm using SSH only.

vina


Niel Lambrechts wrote:
vinayag wrote:
hi,
problem i faced is , i am trying to exit but the window does'nt
close the screen,

Are you using SSH to make your connections?

Please, write your comments BELOW the text you quote. This is less confusing
for the reader.

See if the problem goes away if you start the program with

nohup command >outputfile 2>&1 &

If you are not interested in the output, usr /dev/null as outputfile.

Yours,
Laurenz Albe
Back to top
vinayag
*nix forums beginner


Joined: 11 Jul 2006
Posts: 7

PostPosted: Thu Jul 20, 2006 5:38 am    Post subject: Re: nohup Reply with quote

Laurenz Albe wrote:
Quote:
vinayag <ravinayag@gmail.com> wrote:
hi niel,

s, i'm using SSH only.

vina


Niel Lambrechts wrote:
vinayag wrote:
hi,
problem i faced is , i am trying to exit but the window does'nt
close the screen,

Are you using SSH to make your connections?

Please, write your comments BELOW the text you quote. This is less confusing
for the reader.

See if the problem goes away if you start the program with

nohup command >outputfile 2>&1 &

If you are not interested in the output, usr /dev/null as outputfile.

Yours,




no i am not obey this cmd..


ravi
> Laurenz Albe
Back to top
Laurenz Albe
*nix forums Guru


Joined: 21 Feb 2005
Posts: 478

PostPosted: Thu Jul 20, 2006 12:07 pm    Post subject: Re: nohup Reply with quote

vinayag <ravinayag@gmail.com> wrote:
Quote:
See if the problem goes away if you start the program with

nohup command >outputfile 2>&1 &

no i am not obey this cmd..

You will have to write English if you want me to understand you.

Yours,
Laurenz Albe
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [10 Posts] View previous topic :: View next topic
The time now is Fri Nov 21, 2008 12:38 pm | All times are GMT
navigation Forum index » *nix » AIX
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Why nohup & doesn't work? ankyhe@gmail.com Solaris 2 Wed Jul 19, 2006 12:13 pm
No new posts ssh, keychain and nohup Andrej Ricnik-Bay Slackware 0 Tue Jun 27, 2006 9:55 am
No new posts Question - nohup or Cron? And - reattaching to nohup-laun... BD AIX 7 Mon Apr 24, 2006 11:06 pm
No new posts nohup not generating/updating nohup.out from cron never-aways Solaris 2 Sat Apr 01, 2006 12:41 am
No new posts running processes in bacground with nohup Vijayshree shell 4 Thu Mar 02, 2006 6:43 am

Mobile Phones | Free Advertising | Remortgaging | Credit Counseling | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.4191s ][ Queries: 16 (0.3186s) ][ GZIP on - Debug on ]