This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You can get even more detailed information about a socket from kernel's internal socket struct. | |
For example, we will try to get nginx listening (on port 81) socket's backlog length | |
NOTE: You may need to install kernel debug info if not already installed | |
# yum-config-manager --enable "amzn-main-debuginfo" --enable "amzn-updates-debuginfo" | |
# yum -y install kernel-debuginfo kernel-devel | |
Or get socket info for listening socket on port 81 | |
# ss -len | grep :81 | |
tcp LISTEN 0 511 *:81 *:* ino:29842919 sk:55 <-> |
NewerOlder