OSIRIS
osirisGetSetnum script

osirisGetSetnum -- normal exit, no error

NAME

osirisGetSetnum -- normal exit, no error

OSIRIS library of scripts


osirisGetSetnum

SYNOPSIS

osirisGetSetnum IMAG|SPEC [-t #] [-m]

DESCRIPTION

Returns the current set number based upon the data directories.
Useful for recovering detector server crashes. Normally, the
set number is returned to 0 upon a restart which can confuse
the data directories.

OPTIONS

-t #
ID number to attach to all script generated errors, warnings, and
questions that are passed to the OGS. The ID number is separated
from the rest of the message with a ";".

-m
simulate calls to RPC servers. during simulated calls, the
command is echoed (instead of being executed).

others?

EXAMPLES

script_name junk1 -t 123
What would happen?

ENVIRONMENT VARIABLES

list of environment variables used

FILES

list of files used

SERVERS & KEYWORDS


oids / setnum
osds / setnum
osiris / setnum (higher between oids and osds)
osiris / isetnum (meta-keyword)
osiris / ssetnum (meta-keyword)

SCRIPTS CALLED

list of the scripts called by this script, for example:

help, syncheck

EXIT STATUS

1 - script aborted by an interrupt
2 - syncheck error
3 - error parsing command line input
4 - no data directories set for this date and this user
other errors...

SEE ALSO

???

See Also

The shell script osirisGetSetnum
OSIRIS script index


Go to: OSIRIS Home Page - Instruments Home Page - Keck Home Page

Last modified: Fri Feb 18 02:51:29 2022