Re: socket closing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> My question is, how do I tell what these (UNCLOSED) file descriptors point
> to ?
> 
> I can so a stat on /proc/PID/fd/FILE and I get something like this:
> stat /proc/10881/fd/44
> File: "/proc/10881/fd/44" -> "socket:[1041079]"

the number is an inode, which you can find in /proc/net/{tcp,udp,unix}
lsof or fuser might be able to do this "non-manually"

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux