Date: Mon, 4 Jun 2007 15:14:52 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Sean Murphy <smurphy@calarts.edu> Cc: "freebsd-questions@freebsd.org List" <freebsd-questions@freebsd.org> Subject: Re: Force Memory Dump Message-ID: <20070604201452.GC52959@dan.emsphone.com> In-Reply-To: <46646A31.1070702@calarts.edu> References: <4664528E.8080400@calarts.edu> <20070604185302.GB52959@dan.emsphone.com> <46646A31.1070702@calarts.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 04), Sean Murphy said: > I get this error when trying gcore what am I doing wrong? > # gcore 581 > gcore: /proc/581/file: No such file or directory > # cd /proc > # ls -la > total 4 > dr-xr-xr-x 2 root wheel 512 May 8 2005 . > drwxr-xr-x 20 root wheel 512 Apr 3 17:03 .. > Dan Nelson wrote: > > In the last episode (Jun 04), Sean Murphy said: > > How do you force a memory dump from a specific PID? > > /usr/bin/gcore gcore is one of the few programs left that still requires procfs. You'll need to mount it: mount -t procfs /proc /proc -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070604201452.GC52959>