Skip to main content
1-Visitor
October 5, 2021
Solved

How to get license usage information in a word or document format?

  • October 5, 2021
  • 1 reply
  • 4916 views

I am using Creo Parametric 6.0 6.0.2.0

How to get license usage information in a text format?
I followed the procedure mentioned : Double click “ptcstatus.bat” located under C:\Program Files\PTC\FLEXnet Admin License Server\bin which shows license utilization in command prompt. Is there any way if this data can be shown a word or document format?
Please suggest

Best answer by rghadge

@Shankar_DT,

 

Currently, there are below ways from which you can get license usage report:
1. Run "ptcstatus.bat -v" from Flexnet Publisher <Load Point>\bin folder or <Pro/ENGINEER or Creo Load point>\bin folder. This would show the current PTC license usage status.
2. For LMGRD All license transactions are written to the ptclmgrd.log file created in Flexnet<Load Point>\licensing folder
3. For LMADMIN All license transactions are written to the ptc_d.log file created in Flexnet Admin License Server<Load Point>\logs folder

 

1 reply

21-Topaz I
October 5, 2021

In the future you may want to avoid posting customer information in a public forum. In this case I don't think mentioning your customer's name provides any additional detail.

 

To answer your question there is no out of the box method, but you could write a script that saves the ptcstatus information to a text file which could then be opened in any other format that you desired. For instance if you were using VBS you could write a line such as:

 

oShell.Run "ptcstatus.bat -nopause >>" & TempTxtFile & """", 0, False

 

This would dump the license file to a text file which you could then further manipulate.

1-Visitor
October 7, 2021

thanks Chris, yes I accidentally put customer details but removed later. ok so i am totally unaware of vbs and all coding related stuff so i just have license server installed with windows 10 OS and how do i go about then ? if its VB how do and where do i write this code you have mentioned. I am a total amateur on this please help. thanks 

rghadge17-PeridotAnswer
17-Peridot
October 14, 2021

@Shankar_DT,

 

Currently, there are below ways from which you can get license usage report:
1. Run "ptcstatus.bat -v" from Flexnet Publisher <Load Point>\bin folder or <Pro/ENGINEER or Creo Load point>\bin folder. This would show the current PTC license usage status.
2. For LMGRD All license transactions are written to the ptclmgrd.log file created in Flexnet<Load Point>\licensing folder
3. For LMADMIN All license transactions are written to the ptc_d.log file created in Flexnet Admin License Server<Load Point>\logs folder