There are two common methods to monitor licenses with GO-Global.
1. The first method is accomplished via a license log file. You would change the FLEXLM_LOGFILE variable in the $GOGLOBAL_ROOT/etc/goglobalux script from:
FLEXLM_LOGFILE=/dev/null
to
FLEXLM_LOGFILE=/tmp/license.log
Then restart the goglobalux script to enable the new log file and review the output.
Sample output is provided below:
QUOTE:
# cat /tmp/license.log
10:54:46 (lmgrd) -----------------------------------------------
10:54:46 (lmgrd)
10:54:46 (lmgrd)
10:54:46 (lmgrd) FLEXlm (v9.2 ) started on server (Sun) (5/19/2005)
10:54:46 (lmgrd) Copyright (c) 1988-2003 by Macrovision Corporation. All rights reserved.
10:54:46 (lmgrd) US Patents 5,390,297 and 5,671,412.
10:54:46 (lmgrd) World Wide Web: http://www.macrovision.com
10:54:46 (lmgrd) License file(s): /usr/local/graphon/etc/license.dat
10:54:46 (lmgrd) lmgrd tcp-port 27000
10:54:46 (lmgrd) Starting vendor daemons ...
10:54:46 (lmgrd) Started graphon (internet tcp_port 32953 pid 1118)
10:54:46 (graphon) FLEXlm version 9.2
10:54:46 (graphon) Server started on ux for: UX
10:54:46 (graphon) UX_encryption
10:54:50 (graphon) OUT: "UX_encryption" root@server
10:54:50 (graphon) IN: "UX_encryption" root@server
10:55:15 (graphon) OUT: "UX"
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
10:55:54 (graphon) IN: "UX"
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
15:17:13 (graphon) OUT: "UX"
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
15:30:32 (graphon) OUT: "UX"
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
15:33:53 (graphon) IN: "UX"
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
15:34:06 (graphon) OUT: "UX"
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
The second method involves a tool called
lmstat which can be found in the $GOGLOBAL_ROOT/bin/ directory. This will report status, availability and active usage of licenses. In the example below, lmstat reports that the license server status is UP and the licence file has two Feature sets in the INCREMENT lines;
UX (for normal usage) and
UX_encryption (to enable high encryption). Only 2 out of a 100 licenses are in use at the time and neither is using high encryption (SSL).
QUOTE:
# /usr/local/graphon/bin/lmstat -a
lmstat - Copyright (c) 1989-2003 by Macrovision Corporation. All rights reserved.
Flexible License Manager status on Thu 5/19/2005 15:18
License server status: 27000@server
License file(s) on ux: /usr/local/graphon/etc/license.dat:
ux: license server UP (MASTER) v9.2
Vendor daemon status (on server):
graphon: UP v9.2
Feature usage info:
Users of UX: (Total of 100 licenses issued; Total of 2 licenses in use)
"UX" v2.1, vendor: graphon
floating license
demo xxx.xxx.xxx.xxx /dev/tty (v2.1) (ux/27000 103), start Thu 5/19 15:17
joeuser xxx.xxx.xxx.xxx /dev/tty (v2.1) (ux/27000 201), start Thu 5/19 15:30
Users of UX_encryption: (Total of 100 licenses issued; Total of 0 licenses in use)