Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi David
You could obtain the same output with a simple batch file (example below, similar to what I had sent you).
This runs directly in windows without perl.
It's possible to pass a list of servers or license codes if required, in my case I have a folder of textfiles, each one named after a license code, containing a list of ports and server names. The batch file loops through these and reports usage, allows us to track a wide range of software, and it is simple to make updates.
This feeds into CADminTools, which I will re-launch this summer with some updates, still open-source!
Regards
Edwin
call lmutil lmstat -c 7788@%SRV% -f %LIC% > temp.1
find "issued" temp.2
for /F "tokens=3,6,11 delims=: " %%i in (temp.2) do echo %date%%time%%%i%%k%%j