Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Oct 2009 09:08:42 -0500
From:      Stef Walter <stef-list@memberwebs.com>
To:        Mel Flynn <mel.flynn+fbsd.hackers@mailing.thruhere.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Running a program through gdb without "interfering"
Message-ID:  <4ACF43EA.9050508@memberwebs.com>
In-Reply-To: <200910090015.24175.mel.flynn%2Bfbsd.hackers@mailing.thruhere.net>
References:  <200910090015.24175.mel.flynn%2Bfbsd.hackers@mailing.thruhere.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Mel Flynn wrote:
> [1] In order to get this working I had to put a statically compiled ps in the 
> jail

This is a pretty standard practice. I always put these statically built
into any jails that don't match the outside system. I use the following
crunchgen config to accomplish that.

Cheers,

Stef



# Commands to build in
progs ps ipcs netstat pkill top w killall
progs systat iostat
progs jkill
progs kldstat

# Link these programs to each other
ln pkill pgrep
ln w uptime

# Libraries which we need
libs -lutil -lkvm -ldevstat -lncurses -ldevstat -lm -lnetgraph -lmemstat
-lipx



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ACF43EA.9050508>