- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Is there a documented LMF interface?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 03:32 PM
12-18-2003 03:32 PM
One customer would like the ability to be notified once their license usage gets to a predefined value less than the limit (e.g. when there are only 5 licenses left).
Question: is there a documented API to access the information displayed via the SHOW LICENSE/UASGE command? I suspect there is not but I thought I would ask the question anyway.
We already have code to do notification when the
current attempt to use the product exceeds the license limit but this one customer wants more. I can parse the output of the SHOW LICENSE command but don't like doing this kind of thing (for obvious reasons).
Regards
Dave
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 08:11 PM
12-18-2003 08:11 PM
Re: Is there a documented LMF interface?
I do not know if there is a documented or undocumented Api for LMF.
I think there must be a better way than parsing sh lic/usage, I will do some tests before posting more.
Regards
Gerard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2003 12:52 AM
12-19-2003 12:52 AM
Re: Is there a documented LMF interface?
Not much help perhaps, but if you take a look into SYS$SHARE:SYS$STARLET_C.TLB and SYS$SHARE:SYS$LIB_C.TLB you will find LMFDEF and LMFITMDEF respectively. In these header files you may find some information on the structures involved. I would expect that somewhere in memory (no doubt addressed by some system symbol) you can access this data and then find out what you want.
HTH (to start with)
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2003 03:21 AM
12-19-2003 03:21 AM
Re: Is there a documented LMF interface?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2003 04:01 AM
12-19-2003 04:01 AM
Re: Is there a documented LMF interface?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 09:28 AM
01-04-2004 09:28 AM
Solution*UNDOCUMENTED*, might not work into the future, and may be tricky to get right in a cluster...
Your PAK must be activity based, in which case usage is tracked using locks. The resource name will be something like "LMF$D_
So, you should be able to cook something up using $GETLKI. Use SDA to see what's happening as you grant and release.
Another (very kludgy!) way to check is attempt to GRANT yourself N times, then RELEASE. If you use an application defined lock around your call to LMF$GRANT_LICENSE you can avoid the potential timing windows with real client GRANT's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 11:34 AM
01-04-2004 11:34 AM
Re: Is there a documented LMF interface?
John, with the lock data and the logical in lmf$license_table this should be enough.
They will be made aware that it is UNDOCUMENTED and UNSUPPORTED.
Thanks again to all
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2005 12:12 AM
09-05-2005 12:12 AM
Re: Is there a documented LMF interface?
I have a solution to this issue and if anyone
is interested in the code, you know where to
contact me...
Dave