Date: Thu, 11 Nov 2010 08:45:36 -0500 From: John Baldwin <jhb@freebsd.org> To: freebsd-hackers@freebsd.org Cc: Ulrich =?iso-8859-1?q?Sp=F6rlein?= <uqs@spoerlein.net>, hackers@freebsd.org Subject: Re: libkvm: consumers of kvm_getprocs for non-live kernels? Message-ID: <201011110845.36896.jhb@freebsd.org> In-Reply-To: <20101110204152.GF85693@acme.spoerlein.net> References: <20101110204152.GF85693@acme.spoerlein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, November 10, 2010 3:41:52 pm Ulrich Sp=F6rlein wrote: > Hi, >=20 > I have this cleanup of libkvm sitting in my tree and it needs a little > bit of testing, especially the function kvm_proclist, which is only > called from kvm_deadprocs which is only called from kvm_getprocs when kd > is not ALIVE. >=20 > The only consumer in our tree that I can make out is *probably* kgdb, as > ps(1), top(1), w(1), pkill(1), fstat(1), systat(1), pmcstat(8) and > bsnmpd don't really work on coredumps ps and fstat certainly work fine on crashdumps. w did before devfs (it=20 doesn't have a good way to map the device entries from the crashed kernel t= o=20 the entries in wtmp IIRC). kvm_getprocs() is certainly actively used by=20 various programs on crashdumps and works. =2D-=20 John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011110845.36896.jhb>