Thomas Maier-Komor writes:
> has anybody got an idea, how one could determine what the reason for
> a <defunct> process might be to be unreapable. I.e. I have a process
> that turns up as <defunct> in ps, but won't disappear with
> preap. Now I would like to find out, what the reason might be that
> it won't disappear. Maybe then it would be possible to find a way to
> get rid of it.
> 
> Has anybody got some mdb magic at hand?

Sure.  If the PID is 1234 (decimal), do this:

> 0t1234::pid2proc | ::walk thread | ::findstack

-- 
James Carlson, KISS Network                    <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to