Papp Tamas <[email protected]> wrote:
> 
> Letezik vmi tool, amelyikel lehet monitorozni mondjuk top-szeruen,
> hogy melyik process hivja meg a legtobbszor, ill. nagyon szokszor a
> gethostbyname()-et?

oprofile.

# apt-get install libc6-prof libc6-dbg oprofile
# opcontrol --start --no-vmlinux --separate=all
...csinalod amit szoktal egy darabig...
# opcontrol --stop
# opreport --merge tgid -l | grep gethost

hth, lehet h egyszerubben is lehet:)
raas
-- 
Those who say it cannot be done should not interrupt the person doing it.
                                                   -- Chinese proverb

_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz