Aids in monitoring licenses managed by ESRI's ArcGIS License Manager. Python script checks license usage using a local ArcGIS License Manager and connects to external License managers by IP address. Data are stored in SQL database and can be retrieved with an Excel spreadsheet
LicenseMonitor.py re.compile for regUserRecord has a RegEx that doesn't seem to be working for lmstat -a -c
The grouping within parseLmutilData does not find the correct values for a user, due to the testText grouping values.
Perhaps this is a function of the version of lmutil, or with new versions of ArcGIS License manager.
Formatting for a line in the inString for me is as follows:
<user.name> (v10.1) (Server/Port), start Mon 12/20 14:29
No matches are found for:
re.compile(r"^\s+(\S+) (\S+) x.+(v(\d{1,2}[.\d+]*)) .+, start \w+ (\d+)/(\d+) (\d+):(\d+)")