[Root @ VP-CS-243 ~] #! Cat
CAT/proc/NET/sockstat
Sockets: used 294
TCP: inuse 35 orphan 0 TW 0 alloc 45 mem 1
UDP: inuse 13 mem 2
Udplite: inuse 0
Raw: inuse 4
Frag: inuse 0 memory 0
Sockets: used: Total number of used protocol sockets
TCP: inuse: number of TCP sockets in use (Listening. The value is ≤netstat-lnt | grep ^ TCP | WC-l
TCP: orphan: number of TCP connections without a master (not in any process) (useless, number of TCP sockets to be destroyed)
TCP: TW: number of TCP connections waiting to be disabled. The value is equal to netstat-ant | grep time_wait | WC-l
TCP: alloc (allocated): number of TCP sockets allocated (established and applied to sk_buff. The value is equal to netstat-ant | grep ^ TCP | WC-l
TCP: Mem: Socket buffer usage (Unit unknown. In SCP measurement, when the speed is 4803.9kb/s: the value is 11. In netstat-ant, the corresponding port 22's Recv-q = 0, send-Q ≈ 400)
UDP: inuse: number of UDP sockets in use
Raw:
Frag: number of IP segments used