![]() ![]() ![]() ![]() |
Table of Contents |
The following are scripts and commands that we have found useful in administration of our own demonstration chat server. Note that most of these commands were written specifically to run on our Redhat 7.2 Linux server, so the command lines may need to be modified to work in your environment or may not work at all.
For more information, please consult the documentation that comes with your specific OS. These tools are provided for reference only and are unsupported by Volano.
This is a great way to quickly count the number of people on your chat server without using the [6.1] Count Servlet.
netstat -n -A inet | grep "aaa.bbb.ccc.ddd:8000 " | grep EST | wc -l
Where aaa.bbb.ccc.ddd:8000 is your IP and port. Make sure to leave the quotation marks there.
If you have root access, this is a good way to diagnose why you're getting bind exception errors. Just replace 8000 with whatever port number on which you're getting bind exception errors.
lsof -i tcp:8000 | grep LIST
Otherwise here is a good way to check what is causing those bind errors.
netstat -na | grep :8000 | grep LIST
![]() ![]() ![]() ![]() |
XHTML 1.0 | Table of Contents |