Unix Shell - How to make a stopped process return to run?

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > December 2006 > How to make a stopped process return to run?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to make a stopped process return to run?
Bo Yang

2006-12-20, 1:39 am

When I use cvs to checkout the boost src.
I made a mistake inciddently to stop the cvs process.
Can I make the cvs checkout return to running?
Bo Yang

2006-12-20, 1:39 am

Bo Yang :
> When I use cvs to checkout the boost src.
> I made a mistake inciddently to stop the cvs process.
> Can I make the cvs checkout return to running?

Oh, I got it.

kill -s SIGCONT pid

The unix process model is very interesting.
Janis Papanagnou

2006-12-20, 7:24 am

Bo Yang wrote:
> Bo Yang :
>

How did you stop it?
[vbcol=seagreen]
>
> Oh, I got it.
>
> kill -s SIGCONT pid
>
> The unix process model is very interesting.


If you stopped it hitting ^Z (Ctrl-Z) with job control enabled then
you could have typed either 'fg' or 'bg' to continue the process in
the foreground resp. background.

Janis
Hubble

2006-12-20, 7:24 am


Janis Papanagnou schrieb:

> Bo Yang wrote:
>
> How did you stop it?
>
>
> If you stopped it hitting ^Z (Ctrl-Z) with job control enabled then
> you could have typed either 'fg' or 'bg' to continue the process in
> the foreground resp. background.


.... which basically send <SIGCONT pid>, fg waiting, bg not waiting for
the process.

Hubble.

Janis Papanagnou

2006-12-20, 7:24 am

Hubble wrote:
> Janis Papanagnou schrieb:
>
>
>
>
> ... which basically send <SIGCONT pid>, fg waiting, bg not waiting for
> the process.


Yes, I know. It's just much more convenient to type two characters
than to first figure out the PID then type a bunch of characters.

Janis

>
> Hubble.
>

Hubble

2006-12-20, 7:24 am

Janis Papanagnou schrieb:

> Hubble wrote:
>
> Yes, I know. It's just much more convenient to type two characters
> than to first figure out the PID then type a bunch of characters.
>


I didn't doubt that you know. Just wanted to add this.

Cheers
Hubble.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com