From owner-freebsd-questions@FreeBSD.ORG Mon Jun 4 20:15:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C7C816A468 for ; Mon, 4 Jun 2007 20:15:24 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id CB77C13C487 for ; Mon, 4 Jun 2007 20:15:13 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.1/8.13.8) id l54KEqaO062955; Mon, 4 Jun 2007 15:14:52 -0500 (CDT) (envelope-from dan) Date: Mon, 4 Jun 2007 15:14:52 -0500 From: Dan Nelson To: Sean Murphy Message-ID: <20070604201452.GC52959@dan.emsphone.com> References: <4664528E.8080400@calarts.edu> <20070604185302.GB52959@dan.emsphone.com> <46646A31.1070702@calarts.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46646A31.1070702@calarts.edu> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.15 (2007-04-06) Cc: "freebsd-questions@freebsd.org List" Subject: Re: Force Memory Dump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 20:15:24 -0000 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