broken network connection
Silvan Jegen
me at sillymon.ch
Fri Nov 7 04:44:14 EST 2014
Am 2014-11-06 22:30, schrieb Jim Davis:
> On Thu, Nov 6, 2014 at 2:07 PM, Grzegorz Dwornicki <gd1100 at gmail.com>
> wrote:
>
>> To do this I'm using ctrl+c on host 2. What functions are
>> called to clean broken socket on host 1? What functions are called to
>> clean up socket on host 2?
>
> Have you tried running strace on the nc processes?
Additionally you can use the Kernel's ftrace[0] functionality to figure
out which functions are being called in the kernel (instead of getting
only the system calls returned like with strace).
[0] https://www.kernel.org/doc/Documentation/trace/ftrace.txt
More information about the Kernelnewbies
mailing list