On Wed, Mar 17, 2010 at 10:04 AM, Alejandro Imass <[email protected]> wrote: > On Wed, Mar 17, 2010 at 4:03 AM, Glenn Camilleri <[email protected]> wrote: >> Hi, >> >> >> >> I have some processes and programs that are custom made to run on FreeBSD. I >> suspect some poor implementation of tcp in these programs, but don’t have >> the real proof. > [...] >> >> Can you kindly advise ? >> > > Using the core dump is wise but ktrace will probably be easier. Just > run like this ktrace [program] 2>&1 | less > You should be able to spot the precise failing system call quite easily >
Ooops, my Linux background betrayed me, sorry (was thinking of strace). ktrace will produce a file which you later need to analyze with kdump. Running is the same but forget the output redirection, there is a -f switch to specify the outfile. > Best, > Alejandro Imass > >> >> >> BR, >> >> Glenn Camilleri >> >> -- >> Best Regards, >> Glenn Camilleri >> >> >> >> -- >> Best Regards, >> Glenn Camilleri >> _______________________________________________ >> [email protected] mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "[email protected]" >> > _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
