Extract a CLI-based SFD Executable

  1. On Windows:
    To extract the SFD using the CLI, you should have selected lm-win64-cli.exe. This is a self-extracting installation of the Monitor product. The software components will be extracted into the directory specified by the CLI argument and the product will run from within that directory. This directory will be overwritten upon each start of this executable in order to facilitate simple upgrades of the product.
    1. At the command line, navigate to the directory where the SFD was downloaded.
    2. Run lm-win64-cli.
      The software will automatically use the defaults during extraction. You can change any of the parameters using the fields as shown below:
      CLI Usage (Windows):
      lm-win64-cli [-dir <DIR>] [-swd <DIR>] [-local <DIR>]
                   [-port <PORT>] [-webport <PORT>] [-roport <PORT>]
                   [-instance <NAME>] [-alm <PORT@HOST>] [-extract-only 0|1]
                   [-nogui 0|1]
      
      Required arguments for CLI mode:
      
      -dir      DIR   -- Directory in which the LM software files should be extracted.
                         Use forward slash (/) for path separator on Windows. The
                         directory path must not contain spaces
                         (default Unix: /opt/altair/lm, Windows: c:/altair/lm).
      -swd      DIR   -- Directory in which the LM configuration files will reside.
                         THIS DIRECTORY SHOULD NEVER BE DELETED.
                         Use forward slash (/) for path separator on Windows. The
                         directory path must not contain spaces
                         (default Unix: /opt/altair/swd, Windows: c:/altair/swd).
      -local    DIR   -- Directory in which the Altair registry and other version-
                         agnostic configuration files will reside.
                         THIS DIRECTORY SHOULD NEVER BE DELETED.
                         Use forward slash (/) for path separator on Windows. The
                         directory path must not contain spaces
                         (default Unix: /opt/altair/local, Windows: c:/altair/local).
      -port     PORT  -- Port number for LM server (default: 5557).
      -webport  PORT  -- Web UI port (default: 5555).
      -roport   PORT  -- Guest access port number for LM server (default: 5556).
      -instance NAME  -- Name of LM instance (default: licmon).
      
      Optional arguments for CLI mode:
      
      -h                 -- Show this help message.
      -alm PORT@HOST     -- If Monitor is licensed via the Altair License
                            Manager (ALM) and not an Altair license key file, specify
                            the location in port@host format.
      -nogui             -- For Unix-based platforms, suppress the GUI.
      -extract-only      -- Extract only, do not run.
      -start-only        -- Start only, do not extract. A previous extraction must
                            exist.
      -noblock           -- Return to the shell/command prompt after startup.
      
      Optional arguments for CLI mode on Windows (ignored on Unix-based platforms):
      
      -install-service   -- Install service. The service will point to this
                            executable, so ensure it is in a path that is accessible
                            in a service environment. Requires both the account and
                            password arguments to be passed in addition to the
                            required arguments listed above.
      -start-service     -- Start service. Requires no other arguments.
      -stop-service      -- Stop service. Requires no other arguments.
      -uninstall-service -- Uninstall service. Requires no other arguments.
      -account           -- Account to use for service installation. Pass "system" to
                            install the service to run under the system user.
      -password          -- Password to use for service installation. Pass "system" to
                            install the service to run under the system user.
      
      Examples:
      
      % lm-linux64
      % lm-linux64 -webport 7777 -roport 7778 -instance mylm
      % lm-macosx -dir /Applications/altair/lm -nogui
      % lm-win64-cli -install-service -account joe -password secret
      % lm-win64-cli -install-service -account system -password system -start-service
      % lm-win64-cli -alm 7070@lmsrv
      % lm-win64-cli -swd c:/altair/lm/swd
      % lm-win64-cli -stop-service -uninstall-service
  2. On Linux:
    To extract the SFD using the CLI, you should have selected lm-linux64. This is a self-extracting installation of the Monitor product. The software components will be extracted into the directory specified by the CLI argument and the product will run from within that directory. This directory will be overwritten upon each start of this executable in order to facilitate simple upgrades of the product.
    1. At the command line, navigate to the directory where the SFD was downloaded.
    2. Run lm-linux64.
      The software will automatically use the defaults during extraction. You can change any of the parameters using the fields as shown below:
      CLI Usage (Unix-based platforms):
      lm-<VOVARCH> [-dir <DIR>] [-swd <DIR>] [-local <DIR>]
                   [-port <PORT>] [-webport <PORT>] [-roport <PORT>]
                   [-instance <NAME>] [-alm <PORT@HOST>] [-extract-only 0|1]
                   [-nogui 0|1]
      
      Required arguments for CLI mode:
      
      -dir      DIR   -- Directory in which the LM software files should be extracted.
                         Use forward slash (/) for path separator on Windows. The
                         directory path must not contain spaces
                         (default Unix: /opt/altair/lm, Windows: c:/altair/lm).
      -swd      DIR   -- Directory in which the LM configuration files will reside.
                         THIS DIRECTORY SHOULD NEVER BE DELETED.
                         Use forward slash (/) for path separator on Windows. The
                         directory path must not contain spaces
                         (default Unix: /opt/altair/swd, Windows: c:/altair/swd).
      -local    DIR   -- Directory in which the Altair registry and other version-
                         agnostic configuration files will reside.
                         THIS DIRECTORY SHOULD NEVER BE DELETED.
                         Use forward slash (/) for path separator on Windows. The
                         directory path must not contain spaces
                         (default Unix: /opt/altair/local, Windows: c:/altair/local).
      -port     PORT  -- Port number for LM server (default: 5557).
      -webport  PORT  -- Web UI port (default: 5555).
      -roport   PORT  -- Guest access port number for LM server (default: 5556).
      -instance NAME  -- Name of LM instance (default: licmon).
      
      Optional arguments for CLI mode:
      
      -h                 -- Show this help message.
      -alm PORT@HOST     -- If Monitor is licensed via the Altair License
                            Manager (ALM) and not an Altair license key file, specify
                            the location in port@host format.
      -nogui             -- For Unix-based platforms, suppress the GUI.
      -extract-only      -- Extract only, do not run.
      -start-only        -- Start only, do not extract. A previous extraction must
                            exist.
      -noblock           -- Return to the shell/command prompt after startup.
      
      Optional arguments for CLI mode on Windows (ignored on Unix-based platforms):
      
      -install-service   -- Install service. The service will point to this
                            executable, so ensure it is in a path that is accessible
                            in a service environment. Requires both the account and
                            password arguments to be passed in addition to the
                            required arguments listed above.
      -start-service     -- Start service. Requires no other arguments.
      -stop-service      -- Stop service. Requires no other arguments.
      -uninstall-service -- Uninstall service. Requires no other arguments.
      -account           -- Account to use for service installation. Pass "system" to
                            install the service to run under the system user.
      -password          -- Password to use for service installation. Pass "system" to
                            install the service to run under the system user.
      
      Examples:
      
      % lm-linux64
      % lm-linux64 -webport 7777 -roport 7778 -instance mylm
      % lm-macosx -dir /Applications/altair/lm -nogui
      % lm-win64-cli -install-service -account joe -password secret
      % lm-win64-cli -install-service -account system -password system -start-service
      % lm-win64-cli -alm 7070@lmsrv
      % lm-win64-cli -swd c:/altair/lm/swd
      % lm-win64-cli -stop-service -uninstall-service