netstat
This is an old revision of the document!
httpd Connection IPs and Connection State (CentOS 6)
netstat -pant | awk '/http/ {print $5, $6}' | awk -F: '{print $4 , $5}' | awk '{print $1, $3}' | sort -k1 | uniq -c | sort -rn
Close_Wait Connections Summary
netstat -pant | awk -F: '/CLOSE.*httpd/ {print $8}' | sort | uniq -c | sort -rn
netstat.1463640555.txt.gz · Last modified: 2024/05/23 07:26 (external edit)