#
#
# MoJoe command line aliases. 
#
# These command line aliases can be used to
# recover if MoJoe locks up, verify that MoJoe has captured data, display
# the paradigm look up table.
#
# Command line aliases are listed in between the command line prompt and the
# explanatory text following the -.  For example, to launch MoJoe manually you
# issue the command "mojoe" (without quotes) at the command line prompt
#
#
# > mojoe - Launch MoJoe's graphical user interfact
#

alias mojoe      '/export/home/sdc/mojoe/mojoe&'

#
# > kmojoe -  Kills all of MoJoe's processes: 
#                MoJoe graphical interface
#                Capture script (fmriarch1)
#                Extract script (extract1)
#

alias killmojoe  '/export/home/sdc/mojoe/killmojoe&'
alias kmojoe     '/export/home/sdc/mojoe/killmojoe&'

#
# > rmojoe  - Restarts MoJoe's graphical user interface
#

alias restartmojoe 'source /export/home/sdc/mojoe/restartmojoe&'
alias rmojoe       'source /export/home/sdc/mojoe/restartmojoe&'

#
# > vcmojoe - Verify that MoJoe captured P files by listing the files
#             that have been FTP to disk
#

alias vcmojoe    '/export/home/sdc/mojoe/verifycapture'

#
# > pmojoe - Displays the Read Paradigm Look Up Table
#

alias plumojoe   'cat /export/home/sdc/mojoe/paradigm_lookup_table'
alias pmojoe     'cat /export/home/sdc/mojoe/paradigm_lookup_table'

#
# > helpmojoe  - Display MoJoe help in the command window. Can also 
#                type hmojoe at the command line for help.
#

alias hmojoe     'clear; grep "^#" /export/home/sdc/mojoe/mojoe_alias.txt'
alias helpmojoe  'clear; grep "^#" /export/home/sdc/mojoe/mojoe_alias.txt'

#
# > lmojoe - List all MoJoe processes
#
#

alias lmojoe     'ps -ef | grep "/export/home/sdc/mojoe" | grep -v grep'
