From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 16 14:59:26 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B8A816A41F for ; Sun, 16 Oct 2005 14:59:26 +0000 (GMT) (envelope-from jilles@stack.nl) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43F4443D48 for ; Sun, 16 Oct 2005 14:59:25 +0000 (GMT) (envelope-from jilles@stack.nl) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mailhost.stack.nl (Postfix) with ESMTP id 1B620A3041; Sun, 16 Oct 2005 16:59:24 +0200 (CEST) Received: by snail.stack.nl (Postfix, from userid 1677) id 0E8E222880; Sun, 16 Oct 2005 16:59:24 +0200 (CEST) Date: Sun, 16 Oct 2005 16:59:24 +0200 From: Jilles Tjoelker To: Tom Alsberg , FreeBSD Hackers List Message-ID: <20051016145923.GA82397@stack.nl> References: <20051016121108.GA27391@zoopee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051016121108.GA27391@zoopee.org> X-Operating-System: FreeBSD 5.4-RELEASE i386 User-Agent: Mutt/1.5.11 Cc: Subject: Re: Process/network information from kernel dump X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2005 14:59:26 -0000 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