[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: suspending a pid



On Sat, 2001-11-24 at 08:31, martin f krafft wrote:
> hi all,
> given a PID of a process that hasn't been started from a terminal, is
> there anyway i can suspend it? i am root, and init started process x,
> is there a way that i can suspend x at any point during normal
> operation, and also to unfreeze it again?

I think a kill -STOP PID and a kill -CONT PID will allow you to do what
you want.  STOP is a nonblockable signal according to the kill man page
so this should work regardless of the antisuspend intelligence of a
process.

--mike



Reply to: