Re: How to interpret /proc/pid/fd/n 'socket:'?

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

 



Neil Bird wrote:
Around about 09/07/2003 05:09, Gordon Messmer typed ...

It's the inode. It'll match a socket that shows up in "netstat -a"


Only if it's a UNIX socket - there's no equiv. entry for TCP (or UDP) sockets. I still get 'socket:[nnnnnn]' for TCP comms., but I can't see what /that/ number refers to.

"netstat" only prints the inode for TCP sockets if you use -e. I should have advised you to use "netstat -ae", but I didn't notice that previously :)







[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux