Force Memory Dump
Dan Nelson
dnelson at allantgroup.com
Mon Jun 4 20:15:24 UTC 2007
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 at allantgroup.com
More information about the freebsd-questions
mailing list