Page 1 of 1

linux server load balancing commands &status commands

PostPosted: Sat Oct 11, 2014 7:57 am
by tony003
both port checking and load balancing comands.....do help?

Re: linux server load balancing commands &status commands

PostPosted: Tue Nov 25, 2014 12:30 pm
by Vipin
Hello Tony,

You can check your open server ports using the below command
# nc -z [hostname] [port-range]
i.e,
# nc -z localhost 1-4000

For load balancing you can probably use this command to check the number of incoming requests to your server
#netstat -ntlp | grep :80 | wc -l

This article will help you more in load balancing commands.

http://archive09.linux.com/articles/46735

Hope that helped.