user@host$ killall -9 -u user
Will it definitely kill all processes owned by user
(including forkbombs)?
- No new processes is spawned to
user
from other users. - No
user
's processes are in D-sleep and unkillable. - No processes are trying to detect and
ptrace
or terminate this startedkillall
(but they can ptrace or do other things with each other) - There is
ulimit
that prevents too much processes (butkillall
is already started and allocated it's memory)
E.g. if killall
will finish untampered and successfully is it 100% that no processes are left with this uid? If no, how to do it properly (with standard commands and no root access).
Will SysRq+I definitely kill all things (even replicating)?