lmswitch(1)

lmswitch - switch vendor daemon logs

As shipped in IRIX 6.5.19. Added in IRIX 6.5.19.

NAME
     lmswitch - switch vendor daemon logs

SYNOPSIS
     lmswitch [ -c license_file_list ] [ -v ] [ -verbose ] ...
     lmswitch vendor new_debug_log

DESCRIPTION
     lmswitch switches the debug log file written by a particular vendor
     daemon by closing the existing debug log for that vendor daemon and
     starting a new debug log for that vendor daemon with a new file name. It
     will also start a new debug log file written by that vendor daemon if one
     does not already exist. Requires a v8.0+ vendor daemon.

     By default, debug log output from lmgrd and all vendor daemons started by
     that lmgrd get written into the same debug file. lmswitch lets companies
     keep separate log files for different vendors and control the size of
     their debug log file.

     If debug log output is not already directed to a separate file for this
     vendor daemon, lmswitch tells the vendor daemon to start writing its
     debug log output to a file, new_debug_log. If this vendor daemon is
     already writing to its own debug log, lmswitch tells the vendor daemon to
     close its current debug log file and start writing its debug log output
     to new_debug_log. The effect of lmswitch continues only until the vendor
     daemon is shut down or (as of v8.0) its options file is reread via
     lmreread. When the vendor daemon is restarted or its options file is
     reread, it will look for a DEBUGLOG line in the options file to determine
     whether or not to write its debug log output into its own file and, if
     so, what file to write.

OPTIONS
     -v        Prints the FlexLM version of the utility.

     -verbose  Prints longer description for all errors found. The output from
               the utilities may be harder to read with this option, but is
               useful for diagnostics. (v6.0+ only)

     -c license_file_list
               Use the specified license_file(s).  If this switch is not
               specified, lmswitch looks for the environment variable
               LM_LICENSE_FILE.  If that environment variable is not set,
               lmswitch looks for the file
               /usr/local/flexlm/licenses/license.dat.

NOTES
     IRIX systems typically install licenses in /var/flexlm/license.dat, not
     in /usr/local/flexlm/licenses/license.dat.
SEE ALSO
     lmutil(1)