hexagon logo

Check the number of tokens in use.

I know this should be an easy one.
 
Seems I had a .bat file years ago I could run that would show me how many tokens I currently had in use. I think licensing has changed over the years, and either way what I have, which was using "lmstat", no longer works. Is there another and/or easier way I'm forgetting...???
Parents
  • Hi,
    lmstat should still work so for my setup something like:
     
    "C:\Program Files\MSC.Software\MSC Licensing\Helium\lmutil.exe" lmstat -c 27500@UKFRI-CXLHMN3 -f MSCONE
     
    note the use of "" for the path name with spaces in it and the license server to query "27500@UKFRI-CXLHMN3 " needs to be your relevant setup info. The feature (-f) being checked here is MSCONE.
     
    a crude bat file like :
    @ECHO off
    "C:\Program Files\MSC.Software\MSC Licensing\Helium\lmutil.exe" lmstat -c 27500@UKFRI-CXLHMN3 -f MSCONE | find /N "in use"
    pause
     
    would probably work.
    Note if you don't have lmutil on your machine you need to copy it from the license server machine.
Reply
  • Hi,
    lmstat should still work so for my setup something like:
     
    "C:\Program Files\MSC.Software\MSC Licensing\Helium\lmutil.exe" lmstat -c 27500@UKFRI-CXLHMN3 -f MSCONE
     
    note the use of "" for the path name with spaces in it and the license server to query "27500@UKFRI-CXLHMN3 " needs to be your relevant setup info. The feature (-f) being checked here is MSCONE.
     
    a crude bat file like :
    @ECHO off
    "C:\Program Files\MSC.Software\MSC Licensing\Helium\lmutil.exe" lmstat -c 27500@UKFRI-CXLHMN3 -f MSCONE | find /N "in use"
    pause
     
    would probably work.
    Note if you don't have lmutil on your machine you need to copy it from the license server machine.
Children
No Data