FlexSolidworks analyzes the SolidNetWork License Server Manager Server's lmgrd.log file for license feature usage. An example of the license feature usage graph generated by FlexSolidworks:
FlexSolidworks calculates these statistics:
- Number of license checkouts from the license server
- Number of license returns to the license server
- Number of denials of license request
It also plots the following graphs:
- Usage over time (no. of licenses in use) of each of the Solidworks license features found in the log file.
- Denials over time of each of the Solidworks license features found in the log file.
The following temporary json files are created each time FlexSolidworks is run:
- log_file_name.json: Each "line" in this file represents a check-in and check-out of a license by a user.
- feature_name.json: This file contains the co-ordinates used to plot the usage dand denials graphs.
FlexSolidworks can analyze more than one log file at a one time. It adds up all the usage and denials over time from each log file.
All time stamps in the log file are converted to Pacific Daylight Time PDT.
Python
must be installed, with the following modules: Pandas
and Matplotlib
.
FlexSolidworks has been tested on Python 3.10
and Python 3.11
on Windows 10
.
Download and install Python for Windows from python.org. Check the “Add python.exe to PATH” checkbox during the installation.
Install the pandas
and matplotlib
modules. In the Windows command prompt, run the following commands
pip install pandas
pip install matplotlib
Download the flexsolidworks.py script and put it in a directory containing the Solidworks log files you want to analyze, e.g., C:\temp\example. CD Change Directory to the directory and run python flexsolidworks.py
.
cd C:\temp\example
python flexsolidworks.py
An unsigned Pyinstaller compiled executable flexsolidworks.exe is available here: flexsolidworks.exe