Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2005 16:59:24 +0200
From:      Jilles Tjoelker <jilles@stack.nl>
To:        Tom Alsberg <alsbergt@cs.huji.ac.il>, FreeBSD Hackers List <freebsd-hackers@freebsd.org>
Subject:   Re: Process/network information from kernel dump
Message-ID:  <20051016145923.GA82397@stack.nl>
In-Reply-To: <20051016121108.GA27391@zoopee.org>
References:  <20051016121108.GA27391@zoopee.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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