NAME
startnet - starts the telescope server
SYNOPSIS
startnet
DESCRIPTION
startnet is a generic script that starts the
apropriate server(s) on a given computer.
Each computer has a different startnet
tailored for the instruments connected to that computer.
You must be logged in as the instrument or telescope
user to run the process.
In general it first
kills off any running server processes
then starts the server or servers putting their output
into log files or the null device.
Here is an example:
#!/bin/csh
set SERVER=rcam
echo starting $SERVER
set msg=`ps -x | grep -w $SERVER | grep -v -w grep| awk '{print $1}'`
echo $msg
if ( $#msg ) then
echo killing $msg
kill $msg
endif
$SERVER >& startnet.log &
startnet
is also used to fire up
tserver.
This operation is more complex.
- kills off previous tserver
- cd's into the current DATA_DIR
- fires up any local UNIX socket processes
- fires up tserver `picksym server` verbose timestamp >>& tserver.log
SEE ALSO
ait.config,
daily.csh,
tserver
Last changed August 31, 2000