gprof profiling of dhcpd (solved)
Christian Hammers
chammers at netcologne.de
Mon May 31 16:32:28 UTC 2010
Hello
Just to have it in the mailing list archive, I was pointed out off-list that
the following does the trick:
${PRODPATH}/bin/omshell << END
server localhost
port 7912
key defomapi se32and6txxxxxxxxxxxx==
connect
new control
open
set state=2
update
END
bye,
-christian-
On Mon, 31 May 2010 15:12:43 +0200
"Hammers, Christian" <chammers at netcologne.de> wrote:
> Hello
>
> I'm trying to get a gmon.out from dhcpd but it seems only to get written if the
> daemon terminates itself, e.g. if I start if with --help.
>
> Has anybody an idea how to get the daemon to exit cleanly with exit() once it
> is running? I've tried killing it with -PROF, -TERM and -HUP but had no success.
> Also LD_PRELOADing obscure gprof_helper.c that I found on the Net did not help.
>
> bye,
>
> -christian-
>
>
>
--
NETCOLOGNE Gesellschaft für Telekommunikation mbH
Am Coloneum 9 | 50829 Köln
Tel: 0221 2222-8711 | Fax: 0221 2222-78711
www.netcologne.de
Geschäftsführer:
Werner Hanf
Karl-Heinz Zankel
HRG 25580, AG Köln
More information about the dhcp-users
mailing list