Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 1999 14:08:31 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Sergey <serge69@nym.alias.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Kernel debugging - How can I find "current" process?
Message-ID:  <19990430140831.F80561@freebie.lemis.com>
In-Reply-To: <19990429185611.31524.qmail@nym.alias.net>; from Sergey on Thu, Apr 29, 1999 at 06:56:11PM -0000
References:  <19990429185611.31524.qmail@nym.alias.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 29 April 1999 at 18:56:11 -0000, Sergey wrote:
> Hello, All!
>
> I've experienced occasional kernel panic in 3.1-RELEASE+ports-stable-kit.
> How can I determine current process? (process which caused panic)
> ps ax doesn't help, because there are about 5 processes in 'R' state.
> dmesg or gdb messages, doesn't help too ....

curproc is your friend.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990430140831.F80561>