OS: Linux, Windows
(FlexNet) Shuts down selected license daemons on all systems in the license file list. This is useful when you need to make changes or updates to the licensing software.
Using the lmdown command shuts down the specified license server and causes users to lose their licenses.
lmutil lmdown [-c {license_file | port@host}] [-vendor vendor_daemon] [-q] [-all] [-force] [‑help]
Uses the specified license file, which is the full path to the license file, or uses the specified license server port (port@host). We recommend that you always specify the -c switch. If you specify more than one component, you must separate each with a colon in Linux or a semicolon in Windows.
Shuts down only the specified vendor daemon. The lmgrd daemon continues running.
Prevents issuing a prompt or printing a header.
Shuts down all servers if multiple servers are specified. The -q argument is implied with -all.
If licenses are borrowed, restricts lmdown to run only from the system where the license server is running.
Mentor’s implementation of FlexNet does not support license borrowing.
Displays usage information and exits.
The lmdown command sends a message to every license daemon the LM_LICENSE_FILE environment variable points to requesting them to shut down. The license daemons write their last messages to the log file, close the file, and exit. All licenses that the daemons dispensed are rescinded. Therefore, the next time a client program attempts to verify the license, the license will not be valid.
Mentor recommends that you use lmdown or LMTOOLS to stop a license server. However, if lmgrd or mgcld fails to exit, use the kill -9 command on Linux systems or use the Task Manager to kill the processes on Windows systems.
You can use the lmdown command to shut down license servers configured for three-server redundancy. The servers shut down after a one-minute delay. To shut down only one of these license servers, you must shut down both the lmgrd and vendor daemon processes on that license server.
The following example uses the license.txt license file to shut down the license daemons.
lmutil lmdown -c license.txt
lmdown - Copyright (c) 1989-2013 by Flexera Software LLC. All Rights Reserved.
Port@Host Vendors
1) 1700@mgcsrvr mgcld
Are you sure (y/n)? y
1 FLEXnet License Server shut down