I have developed a script that screens out the "IN:" and "OUT:" for a particular feature as below, from debug.log file:
MODULE IN_OUT TIMESTAMP VAR USAGE
PROE_Flex3C OUT 4/8/2017 19:27 1 1
PROE_Flex3C OUT 4/8/2017 19:27 1 2
PROE_Flex3C OUT 4/8/2017 19:27 1 3
PROE_Flex3C OUT 4/8/2017 19:27 1 4
PROE_Flex3C OUT 4/9/2017 2:39 1 5
PROE_Flex3C IN 4/9/2017 2:42 -1 4
PROE_Flex3C OUT 4/9/2017 5:45 1 5
PROE_Flex3C OUT 4/9/2017 5:46 1 6
PROE_Flex3C IN 4/9/2017 5:50 -1 5
PROE_Flex3C IN 4/9/2017 5:53 -1 4
For every OUT (liscense Checked out) the script puts +1 and for every checkin the scripts subtracts -1 in VAR field & displays the count under USAGE.
My intend is to plot the usage graph of feature (e.g PROE_Flex3C ) over TIME (Time stamp). When i use the method descried i find that the peak usage goes beyond the total liscense features available. For. .e.g if the total license available for PROE_Flex3C is 34 then the graph shows max license utilization as 40.
FLEXnet Licensing (v10.8.6.2 build 59284 x64_n6). How to make the peak liscense usage count accurate ? What could be missing ?
The problem is the the peak usage counted by such method exceeds the total available license. It looks like the server is leaking liscense?