In /usr/share/local/matlab42/etc
- README
- Troubleshooting
- README.boot
- License Manager Information for Matlab 4.2
- Readme.license
- License Manager Administration Companion
- license.dat
- License file for use with FLEXlm version 2.4c
- license.dat.skel
- License file for use with FLEXlm version 2.4c
- lm_matlab
- Name:
lm_matlab script file for invoking MATLAB License Manager Daemon
Usage:
This is no longer used. The binaries are called directly by lmboot.
Description:
lm_matlab is the MATLAB product daemon for the MATLAB FLEXlm License
Manager.
Copyright (c) 1986-93 by The MathWorks, Inc.
Revision: 1.8 Date: 1993/12/06 15:57:30
- lmboot
- Name:
lmboot script file for starting the FLEXlm License Manager at
boot time
Usage:
lmboot [-r matlabdir]
[[-s] | [[-c licensefile] [-d] [-l logfile] [-m marker]]]
Description:
lmboot when called will attempt to start up the license manager
in a way that allows for lmdown to take down the license manager
reliably. It is designed to be flexible and allow for inclusion of
vendor daemons other than for just MATLAB.
IMPORTANT: To include vendor daemons other than MATLAB REQUIRES
modification of this script. Locate the string
'ADD OTHER DAEMONS HERE' below to place the changes.
More information is in the file:
MATLAB/etc/README.boot
Let MATLAB be the MATLAB root directory path and Arch be the machine
architecture and using the marker it creates the following link:
ln -s MATLAB/etc/Arch/lmgrd /usr/tmp/marker.ld
Then it makes a copy of the license file
cp -p licensefile /usr/tmp/marker.dat
Now given a license file of the form:
----------------------------------------------------------------------------
. . .
SERVER . . .
SERVER . . .
. . .
DAEMON name1 daemonfile optionsfile
DAEMON name2 daemonfile optionsfile
. . .
FEATURE . . .
. . .
----------------------------------------------------------------------------
it creates a license file of the form
----------------------------------------------------------------------------
. . .
SERVER . . .
SERVER . . .
. . .
DAEMON name1 /usr/tmp/marker.vd1 optionsfile
DAEMON name2 /usr/tmp/marker.vd2 optionsfile
. . .
FEATURE . . .
. . .
----------------------------------------------------------------------------
This requires links to me made. The FORM of the links are critical!
They must access the actual executable daemons, NOT scripts! This is
so that the entries in the process table get the proper names. So for
example,
on the sun4 we might have
name1 = MLM then
ln -s MATLAB/etc/sun4/lm_matlab /usr/tmp/marker.vd1
name2 = PVI
ln -s PVI/license/bin/bin.sun4/PVI /usr/tmp/marker.vd2
. . .
It is recommended that you use the Arch variable to make the
the code more platform independent. The code is clearly marked
below where to change it.
Options:
-r matlabdir
Provide the MATLAB root directory path when MATLAB is in an
automounted file system. matlabdir/etc/lmboot MUST be this
script. matlabdir MUST cause a mount to occur!
-s
Create a symbolic link /etc/lmboot -> MATLAB/etc/lmboot ONLY.
Only the -r option may be used with -s.
-c licensefile
Path of the license file.
DEFAULT: MATLAB/etc/license.dat
-d
The hostnames that are read from the license file should have
the domain name appended to them before sending to a client.
IMPORTANT: This means that the license file used to start up the
the license manager has hostnames in the server lines
WITHOUT full domain names while the license file used
when running MATLAB has hostnames in the server lines
WITH full domain names. You must use TWO license files.
-l logfile
Path of the log file.
DEFAULT: /usr/adm/license.log4 (except sol2)
/usr/sadm/license.log4 (sol2 only)
-m marker
Marker string used to build the link names. The marker string
should contain the string 'lm' so you can grep on the output of
the 'ps' command using 'lm' as the search string.
DEFAULT: lm_TMW4
Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.10 Date: 1994/03/24 17:49:04
- lmcksum
- Name:
lmcksum script file for producing license file checksums
Usage:
lmcksum [[-r matlabdir] | [-c licensefile] | -m [marker]] [-k]
Description:
lmcksum determines checksums for parts of the license file which are
are not changeable by the user. Given a license file it determines
a checksum for each a line and the whole file.
Options:
-r matlabdir
Provide the MATLAB root directory path. Should be used when
MATLAB is in an automounted file system.
-c licensefile
Path of the license file.
DEFAULT: MATLAB/etc/license.dat
-m [marker]
Check the license file in /usr/tmp/marker.dat on the
current host. This is created by lmstart/lmboot.
If marker is not given then it defaults to: lm_TMW4
-k
Compute checksum which is case-sensitive.
Copyright (c) 1993-94 by The MathWorks, Inc.
Revision: 1.5 Date: 1994/03/24 17:49:52
- lmdebug
- usage: lmdebug [-c licensefile] [-l logfile] [lmdebug_logfile]
abstract: This Bourne Shell script creates a log of diagnostic
information for the license manager.
options:
-c licensefile
Path of the license file.
DEFAULT: MATLAB/etc/license.dat
-l logfile
Path of the license manager log file.
DEFAULT: /usr/adm/license.log4
lmdebug_logfile
Path of the file where the diagnostic output from this
program is put.
DEFAULT: lmdebug.log in the current directory
note(s): 1. This script executes without changing the current directory.
This means that relative pathnames can be used in command
options.
Copyright (c) 1986-94 by The MathWorks, Inc.
Revision: 1.16 Date: 1994/03/24 14:58:32
- lmdlog
- Name:
lmdlog script file for starting up a diagnostic log file
Usage:
lmdlog [[-r matlabdir] | [-c licensefile] | -m [marker]] | [-l dlogfile]
Description:
lmdlog starts up a diagnostic logfile independent of the standard
log file specified to lmgrd by lmstart/lmboot. If lmdlog is called
twice with the same logfile the logging from the first call is lost.
To stop logging simply specify /dev/null as the logfile.
You do NOT need to be root to run this command. You can start this
on any host with access to the SERVER, however the log file is
create ON the SERVER NOT the host where you initiated this command.
This script will error if you are not on a SERVER.
Options:
-r matlabdir
Provide the MATLAB root directory path. Should be used when
MATLAB is in an automounted file system.
-c licensefile
Path of the license file.
DEFAULT: MATLAB/etc/license.dat
-m [marker]
Check the license file in /usr/tmp/marker.dat on the
current host. This is created by lmstart/lmboot.
If marker is not given then it defaults to: lm_TMW4
-l logfile
Path of the log file.
DEFAULT: dlog4 (in the current directory)
Copyright (c) 1993-94 by The MathWorks, Inc.
Revision: 1.4 Date: 1994/03/24 17:51:24
- lmdown
- Name:
lmdown script file for gracefully shutting down FLEXlm License Manager
Usage:
lmdown [-c licensefile] [-l logfile] [-m marker]
Description:
lmdown shuts down the MATLAB FLEXlm License Manager in a graceful manner.
Options:
-c licensefile
Path of the license file.
DEFAULT: MATLAB/etc/license.dat
-l logfile
Path of the log file.
DEFAULT: /usr/adm/license.log4 (except sol2)
/usr/sadm/license.log4 (sol2 only)
-m marker
Marker string used to build the link names. The marker string
should contain the string 'lm' so you can grep on the output of
the 'ps' command using 'lm' as the search string.
DEFAULT: lm_TMW4
Copyright (c) 1986-93 by The MathWorks, Inc.
Revision: 1.16 Date: 1993/12/06 15:59:10
- lmerror
- usage: lmerror.sh error_message
abstract: This Bourne Shell script is execed by MATLAB when it
fails to startup due to a license manager problem.
The error message is passed as an argument.
note(s): 1. The code to call lmdebug at this point is commented
out.
Copyright (c) 1986-93 by The MathWorks, Inc.
Revision: 1.3 Date: 1993/06/07 14:18:22
- lmgrd
- Name:
lmgrd script file for invoking FLEXlm Network License Manager Daemon
Usage:
This is no longer used. The binaries are called directly by lmboot.
Description:
lmgrd is the FLEXlm Network License Manager Daemon.
Copyright (c) 1986-93 by The MathWorks, Inc.
Revision: 1.8 Date: 1993/12/06 15:59:33
- lmhostid
- Name:
lmhostid script file for invoking FLEXlm License Manager Identifier
Usage:
lmhostid
lmhostid [long | ether] (HP 9000 series 300, 400, 700)
Description:
lmhostid prints out a machine's hostid or other unique identifier.
On the HP 9000 series, if no argument is passed we first try with no
argument (id module). If a '0' is returned, we try again with the
the argument of ether. If an argument is given we assume the user
is knowedgeable.
Options:
long
Select the id module for the hostid. (default)
(HP 9000 series 300, 400, 700 only - otherwise ignored)
ether
Select the ethernet port for the hostid.
(HP 9000 series 300, 400, 700 only - otherwise ignored)
Copyright (c) 1986-93 by The MathWorks, Inc.
Revision: 1.9 Date: 1993/12/06 15:59:57
- lmhostid.old
- Name:
lmhostid script file for invoking FLEXlm License Manager Identifier
Usage:
lmhostid
lmhostid [long | ether] (HP 9000 series 300, 400, 700)
Description:
lmhostid prints out a machine's hostid or other unique identifier.
On the HP 9000 series, if no argument is passed we first try with no
argument (id module). If a '0' is returned, we try again with the
the argument of ether. If an argument is given we assume the user
is knowedgeable.
Options:
long
Select the id module for the hostid. (default)
(HP 9000 series 300, 400, 700 only - otherwise ignored)
ether
Select the ethernet port for the hostid.
(HP 9000 series 300, 400, 700 only - otherwise ignored)
Copyright (c) 1986-93 by The MathWorks, Inc.
Revision: 1.9 Date: 1993/12/06 15:59:57
- lmremove
- Name:
lmremove script file for returning licenses to the license pool
Usage:
lmremove [[-r matlabdir] | [-c licensefile] | -m [marker]]
feature user host display
Description:
lmremove removes a single user's license for a specified feature.
You must be root to do this.
Options:
-r matlabdir
Provide the MATLAB root directory path. Should be used when
MATLAB is in an automounted file system.
-c licensefile
Path of the license file.
DEFAULT: MATLAB/etc/license.dat
-m [marker]
Use the license file in /usr/tmp/marker.dat on the
current host. This is created by lmstart/lmboot.
If marker is not given then it defaults to: lm_TMW4
feature user host display
These describe the user's license.
IMPORTANT: These parameters are taken EXACTLY as they are
displayed by the command
lmstat -a
Example:
------------------------------------------------------------------
lmstat - Copyright (C) 1989, 1992 Highland Software, Inc.
Flexible License Manager status on Wed 6/9/93 22:14
License server status:
stew: license server UP (MASTER)
Vendor daemon status (on stew):
MLM (v3.x): UP
Feature usage info:
Users of MATLAB: (Total of 2 licenses available)
root stew /dev/pts/3 (v1.000) (stew/1700 101), start Wed 6/9 22:14
Users of SIMULINK: (Total of 2 licenses available)
------------------------------------------------------------------
To delete this license:
lmremove -m MATLAB root stew /dev/pts/3
Copyright (c) 1993-94 by The MathWorks, Inc.
Revision: 1.3 Date: 1994/03/24 17:56:00
- lmreread
- Name:
lmreread script file for rereading FLEXlm License Manager license file
Usage:
lmreread [-c licensefile] [-l logfile] [-m marker]
Description:
lmreread allows you to read in a new license file without bringing the
license manager daemon down. If the old and new license files don't
match in the critical parts then the user is given the option of
restarting the daemons with the new license file.
Options:
-c licensefile
Path of the license file.
DEFAULT: MATLAB/etc/license.dat
-l logfile
Path of the log file.
DEFAULT: /usr/adm/license.log4 (except sol2)
/usr/sadm/license.log4 (sol2 only)
-m marker
Marker string used to build the link names. The marker string
should contain the string 'lm' so you can grep on the output of
the 'ps' command using 'lm' as the search string.
DEFAULT: lm_TMW4
Copyright (c) 1992-93 by The MathWorks, Inc.
Revision: 1.9 Date: 1993/12/06 16:00:35
- lmstart
- Name:
lmstart script file for starting the FLEXlm License Manager
Usage:
lmstart [-r matlabdir]
[-c licensefile] [-d] [-l logfile] [-m marker]
Description:
lmstart shuts down any currently running license daemons using lmdown
and starts (or restarts) the license manager and vendor daemons using
lmboot.
Options:
-r matlabdir
Provide the MATLAB root directory path. Should be used when
MATLAB is in an automounted file system.
-c licensefile
Path of the license file.
DEFAULT: MATLAB/etc/license.dat
-d
The hostnames that are read from the license file should have
the domain name appended to them before sending to a client.
IMPORTANT: This means that the license file used to start up the
the license manager has hostnames in the server lines
WITHOUT full domain names while the license file used
when running MATLAB has hostnames in the server lines
WITH full domain names. You must use TWO license files.
-l logfile
Path of the log file.
DEFAULT: /usr/adm/license.log4 (except sol2)
/usr/sadm/license.log4 (sol2 only)
-m marker
Marker string used to build the link names (used in lmdown
and lmboot). The marker string should contain the string 'lm'
so you can grep on the output of the 'ps' command using 'lm'
as the search string.
DEFAULT: lm_TMW4
Copyright (c) 1986-94 by The MathWorks, Inc.
Revision: 1.11 Date: 1994/03/24 18:02:15
- lmstat
- Name:
lmstat script file for invoking FLEXlm (tm) License Manager
Statistician
Usage:
lmstat [-a] [-A] [-c licensefile] [-f [feature]]
[-l [regular_expression]] [-s [server]]
[-S [daemon]] [-t timeout]
Description:
lmstat reports a variety of useful information concerning the current
usage of MATLAB. All the arguments and their descriptions are
taken directly from the FLEXlm (tm) program lmstat.
Options:
-a
Display everything.
-A
List all active licenses.
-c licensefile
Path of the license file.
DEFAULT: MATLAB/etc/license.dat
-f [feature]
List all users of the specified features(s).
-l [regular_expression]
List all users of the features matching the given
regular expression.
-s [server]
Display the status of the specified server node(s).
-S [daemon]
List all users of the specified daemon's features.
-t timeout
Specifies the timeout interval, in seconds, during which
daemons must complete their connections to each other. The
default value is 10 seconds. A larger value may be
desirable if the daemons are being run on busy systems
or a very heavily loaded network.
Copyright (c) 1986-93 by The MathWorks, Inc.
Revision: 1.8 Date: 1993/12/06 16:01:16
- lmver
- Name:
lmverm script file for reporting the FLEXlm version
Usage:
lmverm [file]
Description:
Uses the 'strings' command to scan the contents of the file
and report the FLEXlm version if it exists. If the 'strings'
command does not exist an error message is produced. If no
file is given the MATLAB image is used.
Options:
file
File to search for the version information.
Copyright (c) 1993-94 by The MathWorks, Inc.
Revision: 1.3 Date: 1994/03/24 14:48:28
- rc.lm
- MATLAB FLEXlm Network License Manager Daemon
- rc.lm.sol2
- MATLAB FLEXlm Network License Manager Daemon
start and stop for Solaris 2.X
- /sol2
- /sun4
- /util
- lm_matlab
- lmcksum
- lmdown
- lmgrd
- lmhostid
- lmremove
- lmreread
- lmstat
- lmswitchr
- lmutil
- lmver
- lm_matlab
- lmcksum
- lmdown
- lmgrd
- lmhostid
- lmremove
- lmreread
- lmstat
- lmswitchr
- lmutil
- lmver
- arch.sh
- usage: arch.sh
abstract: This Bourne Shell script sets the variable Arch to
reflect the current machine architecture.
Arch - Machine architecture
note(s): 1. This routine must be called using a . (period)
Copyright (c) 1986-93 by The MathWorks, Inc.
Revision: 1.19 Date: 1994/02/18 18:50:05
- autofixm.sh
- usage: autofixm.sh
abstract: This Bourne Shell script attempts to fix the MATLAB
variable using the automount map in MATLAB/bin/.matlabrc.sh
note(s): 1. This routine must be called using a . (period)
2. It ASSUMES that the variables 'MATLAB' and 'Arch' exist
and are set.
Copyright (c) 1994 by The MathWorks, Inc.
Revision: 1.1 Date: 1994/01/13 19:30:44
- echon.sh
- usage: echon.sh
abstract: This Bourne Shell script echos a string without a newline.
note(s): 1. This routine must be called using a . (period)
Copyright (c) 1992-93 by The MathWorks, Inc.
Revision: 1.4 Date: 1993/06/09 15:15:14
- searchp.sh
- usage: searchp.sh
abstract: This Bourne Shell script searches all the directories in your
PATH for a command and output the ones to the pathlist
variable.
note(s): 1. This routine must be called using a . (period)
2. The global variable 'cmd' is the command.
Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.6 Date: 1994/03/23 22:00:42
- whichps.sh
- usage: whichps.sh
abstract: This Bourne Shell script determines the type of 'ps'
command. It sets the variable psCmdSysV.
psCmdSysV - Which 'ps' command?
"FALSE" - BSD version
"TRUE" - System V version
note(s): 1. This routine must be called using a . (period)
2. It ASSUMES that the variable 'Arch' exists and is
set.
Copyright (c) 1993 by The MathWorks, Inc.
Revision: 1.5 Date: 1993/07/29 21:46:52
Compiled by Jerod M. Parker(jparker@bass.gmu.edu)
June 1994