Process/network information from kernel dump

Jilles Tjoelker jilles at stack.nl
Sun Oct 16 07:59:26 PDT 2005


On Sun, Oct 16, 2005 at 02:11:08PM +0200, Tom Alsberg wrote:
> Are there any tools to get information (listing and details) about
> open files, network connections, and currently running processes
> from a kernel core (e.g. one obtained using "call doadump" from DDB)?

You can use tools like fstat(1), netstat(1), ps(1), dmesg(1), vmstat(1),
iostat(1) on a core dump with -N /path/to/kernel -M /path/to/vmcore

Not all options work in this mode.

Alternatively you can grovel around in the data structures using gdb.

-- 
Jilles Tjoelker


More information about the freebsd-hackers mailing list