Configure and Query the SJM tool from the command line

The sjmServer.py script is a tool, located in the binary folder of your Moldflow installation, that configures and queries the status of a running Simulation Job Manager (SJM) process. You must have a python interpreter installed on your system to use this tool.

This tool has been tested on Linux, but is portable and should also run on Windows. Execute the sjmServer.py script by typing the name of the script followed one of three keywords:

Use the keyword -h to see the options available for this script. The information is printed to the terminal. For example:

$ ./sjmServer.py -h

 Usage: ./sjmServer.py <Keyword> <Keyword-options>

 Keyword must be one of: "query", "set" or "-h"

 <query-options>:
  -h         : Print this message.
  -s  <host> : Query alternate <host> using hostname or IP.
               Default: localhost.

 <set-options>:
  -a  <name> : The SJM application to alter, 
               i.e. mfg-msim-moldflow2018.
  -d  <file> : A file with a node per line to use as a 
               distribution pool.
  -h         : Print this message.
  -n   #     : Sets Batch Concurrent Job Limit to provided integer.
  -s  <host> : Query alternate <host> using hostname or IP. 
               Default: localhost.