[lttng-dev] Question about file descriptor of sockets and pipes

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu Jul 19 18:04:37 EDT 2012


* Rui Han (r.han at umiami.edu) wrote:
> Hi All,
> 
> What does the number "6454" and "6455" in the following dump information
> stand for? Are they pipe number and socket number? How did they generated,
> I want to figure out what process is using it, where should I start? Thank
> you very much.
> 
> lttng_statedump_file_descriptor: { cpu_id = 0 }, { pid = 1, fd = 3,
> filename = "pipe:[6454]" }
> lttng_statedump_file_descriptor: { cpu_id = 0 }, { pid = 1, fd = 7,
> filename = "socket:[6455]" }

This is the file name assigned internally to the pipe and socket file
descriptors by the Linux kernel. You might want to compare this with the
output of "lsof". This might be the "NODE" value (to be confirmed).

Thanks,

Mathieu

> 
> Regards,
> Rui

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list