I made a few small tools that others may want to use. Please let me know if you have any questions, bugs, or complaints.
(userapps)/guardian/grd_grep.bsh - This allows you to grep through the files of a specified Guardian node.
grd_grep.bash - Grep through the files of a particular Guardian node
Usage: grd_grep <NODE_NAME | -h | --help> <GREP_ARGS>
Where:
NODE_NAME (required) Is the caps name of the Guardian node (Ex: ISC_LOCK)
<-h | --help> Print this usage
GREP_ARGS (required) are all of the normal arguments used with grep.
By default, it is ran with -n
(Ex: [grep] -ni "Test String"
Examples:
$ grd_grep.bsh DIAG_MAIN -i "SEISMIC"
or
$ grd_grep.bsh ISC_LOCK "SUS-ETMY_M0_LOCK_L"
I just aliased this as "grdgrep" and it becomes very easy to find the lines of wanted code in one or more files of that node.
(userapps)/cds/h1/scripts/ws_timer.bsh - A simple timer that will ding when complete.
ws_timer: A simple timer for control room use. Ctrl-z to stop.
Usage: wstimer [seconds] [(-h|-m|-t) arg]
[seconds] Set a timer for that number of seconds
-h|--help Print this help menu
-m|--miniute Followed by an int will set a timer for that many minutes
-t|--time Followed by a time will ding at time. Times are local and
in the form of "hh:mm"
This ended up being more useful that I thought. Alias as just "timer" and it is a great tool while in the chair.