script to know active tcp connections
- Get link
- X
- Other Apps
Simple
shell script to know how much active tcp connections are using your
server's service ( usefull in case to know about web or ftp server or
other network servers concurrent connections )
netstat -an |
grep ESTABLISHED | awk '{print $5}' | awk -F: '{print $1}' | sort | uniq
-c | awk '{ printf("%s\t%s\t",$2,$1) ; print "" }'
- Get link
- X
- Other Apps
Comments
Post a Comment