TotalView® Installation Guide : Chapter 2 Installing or Changing a Regular License : Starting the License Manager Manually : Testing the License Manager
Testing the License Manager
To verify that you installed the license manager correctly, manually start it and then run TotalView —don’t do this as root. After the license manager starts, set the license file variable and test the license installation by typing:
installdir/toolworks/totalview/bin/totalview
TotalView should respond by displaying its Root window. If it isn’t displayed, you should:
Look at the flexlm-version/license.log log file. This file contains status and error messages from the lmgrd license server.
Use the flexlm-version/platform/bin/lmstat command, which lists license manager activity. For example, to list the number of licenses that are currently checked out on a sun5 platform, type:
cd /usr/local/toolworks/flexlm-version/sun5/bin
 ./lmstat -a -c ../../license.dat
Starting the License Manager When the System Boots
Most of our customer want the license manager to automatically start when the license server boots. Do this by adding the toolworks_init command (see “Starting the License Manager Manually” on page 10) to the appropriate system start-up file. (Ask your system manager where this should go.) On most systems, you should also automatically stop the license manager when the system shuts down to single-user mode.
You can edit your startup files by running the Configure_Autostart shell script, which must be run as root. For example, if the license manager software is in the /usr/local/toolworks directory, run Configure_Autostart using the following commands. (Before entering these commands, use the su shell command to become the root user or use the sudo command to directly invoke the following program.)
cd /usr/local/toolworks/flexlm-version/bin
./Configure_Autostart
Configure_Autostart prompts you with some configuration questions and then makes its changes.