Previous Next Up FAQ Table of Contents

10.2 Server Tools

Administration Tools

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.

Quick connection count

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.

Bind errors

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

Previous Next Up FAQ XHTML 1.0 Table of Contents

2014-07-11 — An updated version of the VOLANO chat server that supports the latest Java 8 Plug-in is now available. More…

The VOLANO® chat software for the Java™ platform lets you build on-line communities and add real-time social networking to your Web site. More…

John Neffenger <john@status6.com>
More…

A PROJECT OF STATUS:6®