1) Log in to kp1pc51 as user hades
2) change to directory hrevserv, and execute the following
command:
nohup
./hrevserv lxhadesdaq 0 100 0 0 0 0 >/dev/null 2>&1 &
The event
server
on the DAQ machine has to run to start hrevserv !
Arguments of
hrevserv:
*
req. argument 1: node name data acquisition (no default!)
* opt.
argument
2: trials to connect to DAQ
*
-1: only one trial
*
0: try until success (def.)
*
t>0: try at most for about t sec
* opt.
argument
3: no. of events packed into one buffer
*
(def.: DAQ input 10, file input only 1)
* opt.
argument
4: evtId > 0: filter on evtId in event header
*
= 0: no filtering (def.)
* opt.
argument
5: = 1: server swaps data before sending to clients
*
(4-byte-swap)
* opt.
argument
6: max no. of simultaneous clients (def.: 20)
* opt.
argument
7: max wait time for next buffer (def. 20 s)
* opt.
argument
8: server mode
*
0: input from data acquisition (def.)
*
1: input from data acqu., write buffers to file
*
2: input from file (written with (1), from DAQ)
*
9: benchmark mode without clients:
*
measure data rate from DAQ
*
10+i: verbose (debug mode)
* server
mode 1, 11:
*
opt. argument 9: output file name
* server
mode 2, 12:
*
opt. argument 9: input file name
* server
mode 9, 19:
*
opt. argument 9: max no of MBS buffers for benchmark (def.: 100)
The documentation about the Remote event server can be found in
http://www-aix.gsi.de/~goeri/hades/revclient.html
If the server is running but needs a restart, do the following:
1) Log in to kp1pc51 as user hades
2) look for process hrevserv and kill it!
check with netstat
that there are no open connections on port
7131. If there are connections listed, wait for
a few minutes
and check again.
3) change to directory hrevserv, and execute the following
command:
nohup
./hrevserv lxghadesdaq 0 0 0 0 0 0 >/dev/null 2>&1 &