- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- lmstat reports
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
lmstat reports
I'm trying to create a license usage website using the output from lmstat -a. Each feature in the license file has both floating and node locked license. Unfortunately "Total number of licenses issued" shows both license types (node locked and floating). Is there a way to excluded the node locked licenses from the output of lmstat?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
@captain678 , i am afraid that there is no way to figure out from the lmstat output, if the licensing rights are node-locked or floating. However, using FNP API's, you should be able to achieve this.
Sample Code should run something around this could be:
========================================
for (feats = lc_feat_list(lm_job, LM_FLIST_ALL_FILES | LM_FILTERLIST_ALL_FILES, NULL); feats && *feats; feats++)
{
confi = lc_get_config(lm_job, *feats );
if(confi->idptr && confi->idptr->id.data)
printf(" This feature is node-locked \n\n");
else
printf(" The feature is floating \n\n");
}
========================================
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)