of course, this assumes you wanted to do it from a C program... ;-)
heh.
pete
On Mon 22 Dec 03, 10:18 AM, Peter Jay Salzman <[EMAIL PROTECTED]> said:
> hey nicole,
>
> yeah, sure it's possible. i'm surprised that sending SIGSTOP/SIGCONT
> doesn't work. but then again, i've never tried tha
hey nicole,
yeah, sure it's possible. i'm surprised that sending SIGSTOP/SIGCONT
doesn't work. but then again, i've never tried that.
anyway, using ptrace() to attach to a process will make the process a
child and suspend it immediately. you can then step through
instructions, look at memory m
At 10:05 AM 12/22/2003, you wrote:
Trying to remember...
wouldn't that be:
$ kill -SIGSTOP PID
And then if you want it to continue:
$ kill -SIGCONT PID
Appropriate man page:
$ man 7 signal
This appears to be it! Love and kisses, everyone.
--n twn
___
Nicole,
That (from the shell) would look something like this:
kill -SIGSTOP 1159
(where 1159 is my PID)
To start the process back up:
kill -SIGCONT 1159
If you're trying to call the same thing from a C program:
kill(pid, SIGTSTP);(where pid is an int = to some PID)
This requires the f
Trying to remember...
wouldn't that be:
$ kill -SIGSTOP PID
And then if you want it to continue:
$ kill -SIGCONT PID
Appropriate man page:
$ man 7 signal
-ME
Nicole TWN said:
> Hi gang
>
> Anyone know how to suspend a process given its PID?
>
> It seems like it should be possible, via signals
Hi gang
Anyone know how to suspend a process given its PID?
It seems like it should be possible, via signals or something, but I can't
find how.
Thanks
--nicole twn
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/