On Wed, Nov 18, 2009 at 9:34 AM, Harald Schmalzbauer <
h.schmalzba...@omnilan.de> 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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to