Re: Pausing a task
From: Jan-Benedict Glaw
Date: Mon Jun 13 2005 - 11:11:04 EST
On Mon, 2005-06-13 11:50:34 -0400, Richard B. Johnson <linux-os@xxxxxxxxxxxx> wrote:
>
> How can I (as root) pause or suspend a process?
> On VAX/VMS one could do `set process=suspend`. This
> would allow the system manager to check on a possibly
> rogue user.
>
> Let's say that "Hacker Jack" just got fired because
> he was disrupting a project. One needs to find any of
> his processes where he might be deleting a project
> tree. Pausing, rather than killing the tasks would
> allow evidence to be gathered. Basically, I need
> to set the task(s) priorities to something that
> will take them out of the run-queue altogether.
~# pkill -SIGSTOP -U richard
< examine the situation, attach gdb/strace/ltrace/whatever >
If you just want to let'em continue:
~# pkill -SIGCONG -U richard
MfG, JBG
--
Jan-Benedict Glaw jbglaw@xxxxxxxxxx . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
fuer einen Freien Staat voll Freier BÃrger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Attachment:
signature.asc
Description: Digital signature