查询服务器特性的步骤

当执行 sjmServer.py 脚本时,关键字 query 会显示 localhost 服务器的特性。

使用可选参数 -s <host> 查询使用其主机名或 IP 地址的特定计算机。

  1. 要使用默认选项查询 localhost,请键入
    $ ./sjmServer.py query
  2. 要查询远程主机,请键入
    $ ./sjmServer.py query –s 192.168.1.1
  3. 以下为示例输出:
    $ ./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