suspension of long process
Dan Mick
dan at kfw.COM
Thu Oct 4 14:20:38 AEST 1990
In article <3940 at ruuinf.cs.ruu.nl> wgsiemel at praxis.cs.ruu.nl (Willem Siemelink) writes:
>I can do this by hand by typing ^Z on the running process followed by 'bg' and
>'fg' but that is only when I'm on the keyboard at the very moment. Obviously
>that isn't good enough. I've had a suggestion using 'kill' but I couldn't
>figure it out. ('kill -3 <pid> gives a core-dump but I can't get it started
>again.)
The fact that you can ^Z and bg/fg means you must be on a BSD-derived
system with job control; you can send the same signals to the process with
kill -TSTP <pid>
to stop the process, and
kill -CONT <pid>
to resume it.
More information about the Comp.unix.internals
mailing list