LMTOOLS Logs

LMTOOLS Logs

Anonymous
Not applicable
5,691 Views
4 Replies
Message 1 of 5

LMTOOLS Logs

Anonymous
Not applicable

HI I'm new here.

 

I want to make logs of license usage in similar to that shown in LMTOOLS when permforming status Enquiry.

 

Currently, we are just copying that information and paste it in notepad. I would like to know how to run it in batch, and get that logs automatically.

 

I am also planning to run the batch on daily basis. Thanks in advance.

0 Likes
Accepted solutions (2)
5,692 Views
4 Replies
Replies (4)
Message 2 of 5

Mark.Lancaster
Consultant
Consultant

matthewchardinang

 

I'm not sure if that's possible (but at the same time I don't know all the ins and outs with LMTOOLS).   I will tag @TravisNave to see if he has any ideas or thoughts.

Mark Lancaster


  &  Autodesk Services MarketPlace Provider


Autodesk Inventor Certified Professional & not an Autodesk Employee


Likes is much appreciated if the information I have shared is helpful to you and/or others


Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

0 Likes
Message 3 of 5

TravisNave
Mentor
Mentor
Accepted solution

Thanks Mark.  Matthew,

 

The license manager will already create a report log file that can be read with programs like SAMreport Lite, OpenLM, or JTB FlexReport.  You can create this log file with an adskflex.opt options file.

 

For eveything you could possibly want to know about the adskflex.opt Options file for FlexLM, please see my KB article here:

http://forums.autodesk.com/t5/Installation-Licensing/Managing-the-adskflex-opt-Options-File/td-p/307...

If none of those work for you, you could also use the LMUTIL.EXE in a command line script to get the status enquiry and then pipe it into a log file.  Then set a scheduled task to run your script at intervals of your choice.

 

Hope this gives you some ideas.

 

Good Luck!

 

 



Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
0 Likes
Message 4 of 5

Anonymous
Not applicable

@TravisNave Thanks, great help...

 

 

 

 

Message 5 of 5

Anonymous
Not applicable
Accepted solution
Here is the Syntax just incase someone needs...

SET SERVERName=MyServer
SET LMTOOLSPath="C:\\Program Files (x86)\\Autodesk Network License Manager"
"%LMTOOLSPath%\\lmutil.exe" lmstat -a -c @%SERVERName% >StatusEnquiry.txt
0 Likes