To query the server properties

When executing the sjmServer.py script, the keyword query displays the properties of the localhost server.

Use the optional argument, -s <host>, to query a specific machine using either its hostname or its IP address.

  1. To query the localhost using default options, type
    $ ./sjmServer.py query
  2. To query a remote host, type
    $ ./sjmServer.py query –s 192.168.1.1
  3. The following is a sample output:
    $ ./sjmServer.py query -s 10.147.135.65
    
     General Server Parameters: Host -> 10.147.135.65
     - Max   batch   jobs : 1
     - Max non-batch jobs : 7
     - Load               : 0
     - Status             : 1
     - Application count  : 1
       * Application         : mfg-msim-moldflow2018
       * alwayslaunchasuser  : False
       * localhostonly       : False
       * displayname         : Moldflow Insight 2018
       * useServerManagement : True
       * enhancedQueuing     : True
       * detectable          : True
       * Queue Config        :
         + batchstarttime       : 0
         + enablebatchstarttime : False
         + isbatchqueuerunning  : False
         + distpoolservers ( name / IP ) :
           - Localhost       / LOCALHOST