suspending a running task
matthew at FreeBSD.org
Thu Aug 17 21:00:53 UTC 2017
On 17/08/2017 17:58, Jim Pazarena wrote:
> Is there any way that root can suspend a task executed by someone else?
> In other words, not a program running direct from the console, but just
> any task presently running where the SysAdmin has a desire to
> temporarily suspend it.
To stop a process, find its PID and then:
# kill -STOP $pid
This will suspend the process without killing it in much the same way
that Ctrl-Z works in a shell.
Conversely to restart a stopped process:
# kill -CONT $pid
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 931 bytes
Desc: OpenPGP digital signature
More information about the freebsd-questions