[ILUG] Background Jobs

David Neary dneary at informix.com
Wed Nov 8 05:47:30 GMT 2000


"Brady, Padraig" wrote:
> 
> > -----Original Message-----
> > From: Paul Trainor [mailto:paul.trainor at bayridge.ie]
> > Sent: 07 November 2000 16:23
> > To: 'Dermot Connolly'; ilug at linux.ie
> >
> > nohup does it
> 
> To do this from the same terminal
> that you started the command on:
> 1. Ctrl-Z #to suspend the process
> 2. bg #make command run in background
> For the c shell this is all you need to do since it
> doesn't kill background processes when you log out.
>         Also for commands you haven't started yet, screen is
> better than nohup as it gives you much more control. For e.g.
> you could run commands under screen, detach and logout and then
> login and reattach at home.

Anyone know how to nohup an app after running it? I wasn't aware that
csh did that by default for bg processes, but I use ksh or bash most of
the time anyway - is there any way I can nohup a process by pid, in the
same way as I can nice it? Is there a way to do this through top? Or is
it possible to (maybe) change the PPID of a process while it's running.
to init, say?

Cheers,
Dave.




More information about the ILUG mailing list