Sunday, October 3, 2010

Helpful Diagnostic Non-Responsive Server Comandlines

How many HTTP connections?
$ netstat -n | grep :80 | wc -l

How many HTTPS connections?
$ netstat -n | grep :443 | wc -l

How many connections are from an IP?
$ netstat -n | grep XXX.XXX.XXX.XXX

No comments:

Post a Comment