![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to make a parent wait on a child shells running in background? | albertashish | UNIX for Advanced & Expert Users | 1 | 08-01-2008 10:13 AM |
| How to know the status of process running in background | sumanta | Shell Programming and Scripting | 8 | 03-04-2008 02:03 AM |
| running process in background | kingdbag | UNIX for Dummies Questions & Answers | 3 | 11-10-2006 09:34 AM |
| how to get background job to foreground | sandilya | Shell Programming and Scripting | 4 | 02-02-2006 08:29 AM |
| set background/foreground color in .profile | dvella | UNIX for Dummies Questions & Answers | 3 | 08-14-2005 04:12 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
||||
|
||||
|
Hi.
Quote:
|
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
Sorry, that was indeed a typo on my behalf. Correct is
$ nohup -p <PID> in AIX. bakunin |
|
#10
|
||||
|
||||
|
on AIX UNIX ksh it work use it:
press (ctrl+z ) to stop that job then run (jobs) it who id of stoped job_id the for running that job in foreground use(fg %<job_id>) the for running that job in background use(bg %<job_id>) and to start it in nohup use (nohup `bg %<job_id>`) |
|
#11
|
||||
|
||||
|
Hi, bakunin.
Quote:
Code:
$ jobs $ version =o aix 5.1 $ jobs $ sleep 100 & [1] 30552 $ nohup -p $! Sending nohup output to nohup.out. nohup: -p: A file or directory in the path name does not exist. $ echo $! 30552 |
|
#12
|
|||
|
|||
|
I tried that with AIX 5.3 ML6. Here is a link verifying that:
nohup Command Still, i have seen in the meantime, while sifting through older documentation, that "-p" is nonstandard. I have never needed it until recently, when i looked it up and found that option - so i took it for granted, unaware that it is not as common as i thought. bakunin |
|
#13
|
|||
|
|||
|
i face the same problem with the nohup commnad,anyway if you want the nohup to run
successfully dont use the ctrl + Z,just close the telnet window and go out the system login to the system again and you can see that your program is working nohup /usr/bin/ksh <xxx>.sh i try it on tru UNIX V4.0F and it works |
|||
| Google The UNIX and Linux Forums |
| Tags |
| background, foreground, job control, nohup |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|