linux-connections
Looks up TCP/IP network connection information.
Syntax
linux-connections
Description
This command retrieves TCP/IP network connection information from the following files:
- /proc/net/icmp
- /proc/net/icmp6
- /proc/net/raw
- /proc/net/raw6
- /proc/net/tcp
- /proc/net/tcp6
- /proc/net/udp
- /proc/net/udp6
After running the linux-connections command, the output fields are as follows:
Output Fields
Field | Type | Description |
---|---|---|
pid | Integer | Process ID |
rx_queue | Integer | Rx queue length |
tx_queue | Integer | Tx queue length |
protocol | String | Protocol |
local_ip | IP address | Local IP address |
local_port | Integer | Local port |
remote_ip | IP address | Remote IP address |
remote_port | Integer | Remote port |
state | String | Status (LISTEN, ESTABLISHED, TIME_WAIT, etc.) |