This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / The Mathematica Book / Mathematica Reference Guide / Mathematica Sessions /

A.7.6 Network License Management

Single-machine and network licenses.

Copies of Mathematica can be set up with either single-machine or network licenses. A network license is indicated by a line in the mathpass file starting with !name, where name is the name of the server machine for the network license.

Network licenses are controlled by the Mathematica license management program mathlm. This program must be running whenever a Mathematica with a network license is being used. Typically you will want to set up your system so that mathlm is started whenever the system boots.

Ways to start the network license manager under Microsoft Windows.

Ways to start the network license manager on Macintosh and Unix systems.

When mathlm is not started directly from a command line, it normally sets itself up as a background process, and continues running until it is explicitly terminated. Note that if one mathlm process is running, any other mathlm processes you try to start will automatically exit immediately.

Command-line options for mathlm.

You can use the mathlm -restrict file to tell the network license manager to authorize only certain sessions. The detailed syntax of a restriction script is explained in the Network Mathematica System Administrator's Guide.

Monitoring network license activity.

You can use the program monitorlm to get information on current Mathematica license activity on your computer network.

Command-line options for monitorlm.