how to confuse truss: truss -f fsck -p /
Tim Robbins
tjr at freebsd.org
Sun Feb 8 21:56:05 PST 2004
On Mon, Feb 09, 2004 at 04:17:40AM +0100, Matthias Andree wrote:
> After typing "truss -f fsck -p /", I see nothing. I press ^Z
> and type kill -9 % (killing truss).
>
> I now have these fine processes hanging dead in memory, they are immune
> to kill -9 and don't respond to kill -CONT either, ps axl:
>
> UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND
> 0 56974 1 0 8 0 1256 744 ppwait D p1 0:00.00 fsck -p /
> 0 56975 56974 0 8 0 1256 744 stopev DV p1 0:00.00 fsck -p /
>
> Is this how things are supposed to be, even though killing a tracer is
> way stupid? I think it's not nice to have unkillable processes.
procfs is disabled by default for a reason :-)
> Is there a way to get rid of these without reboot?
Try procctl(8).
Tim
More information about the freebsd-current
mailing list