osiris -- base start/stop/restart script for servers, guis, etc.
NAME
osiris -- base start/stop/restart script for servers, guis, etc.
OSIRIS library of scripts
SYNOPSIS
osiris function process [-C configfile] [-D displayname] [-H runhost]
[-U username] [-L "text"]
DESCRIPTION
this main purpose of this script is to parse and check the optional
command line arguments - it doesn't actually start or stop anything,
but calls other scripts for that.
the sequence of scripts called is:
1. osiris {function} {process}
->there is one top level script for all processes (this one!)
2. {process}.csh {function}
->there is a unique script for each process, defining specific
options for that process
3. ONE of: osiris_servers.csh, osiris_guis.csh, osiris_idl.csh
->there are three general scripts, one each for servers, guis, and
idl tools. these are the scripts that actually do the starting
or stopping.
OPTIONS
function
process
-C configfile
-D displayname
-H runhost
-U username
-L "text for first line of logfile"
EXAMPLES
osiris start odec -C special_odec_cfg.xml -D myhost:0.0 -H myhost
-U matthew
This would start the process "odec" on matthew@myhost, diplay it on
myhost:0.0, and use the config file special_odec_cfg.xml.
ENVIRONMENT VARIABLES
USER, HOST, SSH_TTY
FILES
none
SERVERS & KEYWORDS
none
SCRIPTS CALLED
list of the scripts called by this script, for example:
help, ping, id, procstatus, which, ssh
NOTE: this script does not use syncheck, so that it can be run from the
OSIRIS DRP computer (olowalu) which is Linux.
EXIT STATUS
0 - normal exit, no error
1 - script aborted by an interrupt
2 - syncheck error
3 - error parsing command line input
other errors...
SEE ALSO
???
See Also
The shell script osiris
OSIRIS script index
Go to:
OSIRIS Home Page -
Instruments Home Page -
Keck Home Page
Last modified: Wed Dec 1 15:53:11 2021