etc~ scripts and random things |
| git clone https://github.com/djnnvx/etc.git |
| log | files | refs | archive |
| commit 608f6811066051c9aaad518a9065502b46a59784
parent 031746d14f92ca5113d5259d80162d5c27ad7eb2 Author: djnn <[email protected]> Date: Fri, 28 Mar 2025 11:40:19 +0900 feat(bin): get-tcp.sh The /proc/net/tcp file provides detailed information about the current TCP connections on the system, each line contains data about a TCP socket. It works like this: local_address: local IP and port of the connection. rem_address: remote IP and port. st: The state of the TCP connection (for example, 01 means ESTABLISHED). tx_queue and rx_queue: The transmit and receive queues. uid: The ID of the user who initiated the connection. inode: The identifier of the inode node that holds the socket. Diffstat:
|