getting program.core, where and how?

Adam Vande More amvandemore at
Wed Nov 18 15:52:26 UTC 2009

On Wed, Nov 18, 2009 at 9:34 AM, Harald Schmalzbauer <
h.schmalzbauer at> wrote:

> Hello,
> I have a daemon (compiled with -g) which is dying frequently, but I can't
> get a core dump.
> The daemon drops privileges and runs as restricted user after startup.
> I gave the restricted user write permission to the directory where the
> binary lives, but that hasn't helped.
> The size should be really small, so I think ulimit is not the problem.
> How can I find out what the working directory of the binary is? I guess the
> problem is missing write permissions there.
> Thanks,
> -Harry
procstat -f <pid>

Adam Vande More

More information about the freebsd-questions mailing list