This is the server that spits out data to the 3dmosmon client. 

It can either be installed through inetd, xinetd or as a standalone server.
The following parts will explain how the configuration works.

Normally you do not have to care about this because it will be
configured for you automatically during the installation.



INETD:
For the inetd-configuration add the following line to your /etc/inetd.conf :

mosstatd	stream	tcp	nowait	nobody	/path/to/mosstatd

Dont forget that you will also need to add a line to /etc/services specifying what
port to run it on. I reccomend 10050 as this is the default in the client:

mosstatd	10050/tcp	#mosix stat daemon

after that restart inetd (killall -HUP inetd) and try
connecting to port 10050 to make sure the server is okay.



XINETD:
Create the file /etc/xinetd.d/mosstatd with your favourite editor
and put the following lines in it:

service mosstatd
{
        socket_type             = stream
        wait                    = no
        user                    = nobody
        log_on_success          += USERID
        log_on_failure          += USERID
        server                  = /usr/bin/mosstatd
}

Equal to the inetd installation you have to add a line to /etc/services specifying
the mosstatd-serverice, e.g.:

mosstatd        10050/tcp       #mosix stat daemon

Then restart xinetd with 

/etc/init.d/xinetd restart

and you should be able to run the 3dmosmon by xinetd now.




STANDALONE-SERVERf:
If you dont have root access you can run the daemon as a standalone server
just run it in the background.
Then use the mosstatd-init script to start the server e.g.

/etc/init.d/mosstatd [start/stop/status]



Many thanks to Matthias Rechenburg for the work porting it to OpenMosix. 
He did an excellent job.



