ftlm_lmproject

A utility to capture the value of LM_PROJECT on the current host, for the current user.

DESCRIPTION:
    ftlm_lmproject - A utility to capture the value of LM_PROJECT
    on the current host, for the current user.

    Every checkout by the current user on the current host
    will be assigned to the given LM_PROJECT until
    the time has expired.

    Expiration default is 4 hours but can be overridden
    via the VOV_LMPROJECT_EXPIRE environment variable.

    This utility connects to the LicenseMonitor
    project specified by the VOV_LICMON environment
    variable.  VOV_LICMON is a comma-separated list
    of hosts, with each host in one of the following forms:

    Non-SSL: <host>:<port>      (Example: lmsrv:5555)
    SSL:     <host>:<port>:ssl  (Example: lmsrv:5555:ssl)

    This utility is also called automatically
    by 'vw' in the context of NetworkComputer.

TECHNICAL NOTE:
    This is a stand-alone script that can be executed
    by any Tcl interpreter, like tclsh.  A full installation
    of VOV is not required to run this script.


OPTIONS:
    -expire  <TIMESPEC>       -- Default 4h00m
    -var     <VARLIST>        -- Which env. variable to use. VARLIST is a
                                 space separated list of variable names.
      Default: 'LM_PROJECT RLM_PROJECT VOV_JOBPROJ'

    -host    <HOSTLIST>       -- Default 'tr-lap923 tr-lap923 tr-lap923'.
                                 Empty means 'any host'.
    -host+   <HOSTLIST>       -- Append specified hosts to default list
                                 (tr-lap923 tr-lap923 tr-lap923)
    -user    <USER>           -- Default 'o'. Empty means 'any user'.
    -project <PROJECT>        -- Default is value of LM_PROJECT.
    -jobid <JOBID>            -- Take value of PROJECT from the specified job.
                                 Used by vw for automatic link NC->LM
    -unixgroup                -- Use the current Unix group name as project.
    -v                        -- Increase verbosity (may be repeated).
    -h                        -- This help

EXAMPLES:
    % ftlm_lmproject
    % ftlm_lmproject -unixgroup
    % ftlm_lmproject -var RLM_PROJECT -expire 12h
    % ftlm_lmproject -v -v
    % ftlm_lmproject -user john -host pluto -project ChipA -expire 3m
    % ftlm_lmproject -user "" -host pluto -project ChipA -expire never

SEE ALSO:
    ftlm_accounts showlive
    ftlm_accounts setlive  <userList> <project>
    ftlm_accounts setliveall