- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: F$GETSYI("","BYTLM) is not BYTLM in AUTHORIZE
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
Discussions
Discussions
Forums
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
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
тАО06-22-2009 12:32 AM
тАО06-22-2009 12:32 AM
I stumbled over the following, while checking for BYTLM's:
The BYTLM from the GETJPI is NOT the initial BYTLM from the authorize file.
The F$GETJPI BYTLM seems to be the same as BYTCNT.
What is shown in F$GETJPI's BYTLM?
----------------------------------------------------------------------------------------------
$ write sys$output f$fao(" BYTLM: !SL" ,F$GETJPI("","BYTLM") )
BYTLM: 163808
$ pipe mc authorize sh user1 |sea sys$pipe "Bytlm"/exact
Maxjobs: 0 Fillm: 100 Bytlm: 164000
----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
$ write sys$output f$fao(" PQL_MBYTLM : !SL",F$GETSYI("PQL_MBYTLM") )
PQL_MBYTLM : 100000
$ write sys$output f$fao(" BYTCNT: !SL",F$GETJPI("","BYTCNT") )
BYTCNT: 163808
----------------------------------------------------------------------------------------------
Thnx,
Bob Kortlandt
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 02:18 AM
тАО06-22-2009 02:18 AM
Re: F$GETSYI("","BYTLM) is not BYTLM in AUTHORIZE
Your observation is correct.
The initial BYTLM (from the UAF or from the PQLs) is stored in the field JIB$L_ORG_BYTLM.
The value returned by F$GETJPI("","BYTLM") is the one stored in JIB$L_BYTLM.
The latter has a value somewhat less than the former since for "long term" allocations from non paged pool, like creating mailboxes, the allocation is debited from BYTCNT and BYTLM; for "short term" allocations like buffered I/O, the allocation is debited only from BYTCNT.
Regards,
Kris (aka Qkcl)
PS: There is no "ORG_BYTLM" item for F$GETJPI. You can see the different values by formatting the JIB of a process using SDA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 02:23 AM
тАО06-22-2009 02:23 AM
SolutionForgot to mention that if you want to have the different values for BYTCNT & BYTLM returned in DCL-symbols, then check out the newest version of QJPI at
http://www.quadratrix.be/qjpi.html
Regards,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 02:35 AM
тАО06-22-2009 02:35 AM
Re: F$GETSYI("","BYTLM) is not BYTLM in AUTHORIZE
Thnx for explanation, looked a bit further and found http://h71000.www7.hp.com/wizard/wiz_7083.html which explains how to acquire the "real" initial value.
Rgds, Bob
(I did remember your QJPI from a couple of yesrs ago)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 02:57 PM
тАО06-22-2009 02:57 PM
Re: F$GETSYI("","BYTLM) is not BYTLM in AUTHORIZE
Since I don't trust HP to keep the Wizard site online into the future, I'll repost that answer here to reduce the chances it will get lost.
Back when I wrote that response, there was a minor difference in opinion about the "normalization" (in the data base sense) of answers to questions. One of the Wizards, with a VMS engineering background, believed that there should be only ONE copy of each answer, most likely in the FAQ, and all responses to the same question should reference "THE" answer. (The logical extreme of which would be to reduce all Wizard answers to "It's in the FAQ")
My experience, as a support engineer, was that the more copies of a (correct!) answer, the easier it was for people to find it, the less chance it would get lost, and less frustration from customers who know the answer is "out there" but all the links they find are broken.
---------- Repost from Wizards ------------
The Question is:
When the PQL_MBYTLM is set to 100000, why does a $GETJPI or F$GETJPI show the BYTLM for a process as being some value below 100000 ? (eg. 98000).
The Answer is :
For all process quotas except BYTLM, there is a "xxxLM" value and a "xxxCNT" value. The xxxLM value is a constant determined from the system authorization file and/or the PQL SYSGEN parameters and/or the values specified when the process was created. The corresponding "xxxCNT" value is debited and credited as the resource is consumed and released.
BYTLM is different. For non-paged pool, the resource controlled by BYTLM, there are two classes of allocation: "permanent" and "transient". For "transient" allocations, like buffered I/Os, BYTCNT is debited when memory is allocated and credited when the I/O completes and the memory is released.
For "permanent" (more precisely, "long term") allocations, like the creation of mailboxes, the allocation is debited from BOTH BYTCNT and BYTLM. When the mailbox is deleted, both values are credited.
There is a field in the JIB -- JIB$L_ORG_BYTLM -- which stores the original value of BYTLM for the process. In your example case, the ORG_BYTLM value will be 100000. If BYTLM is 98000, that indicates that the process has 2000 bytes of NPAGEDYN on long term allocation.
There is no $GETJPI item to return JIB$L_ORG_BYTLM for a process. It can be examined from SDA by formatting the JIB. For example:
$ ANALYZE/SYSTEM
SDA> READ SYSDEF
%SDA-I-READSYM, 9243 symbols read from SYS$COMMON:[SYS$LDR]SYSDEF.STB;1
SDA> SET PROCESS/INDEX=pid
SDA> FORMAT JIB
FFFFFFFF.80EBB240 JIB$L_MTLFL 80EBB240 JIB
FFFFFFFF.80EBB244 JIB$L_MTLBL 80EBB240 JIB
...
FFFFFFFF.80EBB260 JIB$L_BYTCNT 0001B880
FFFFFFFF.80EBB264 JIB$L_BYTLM 0001BB00
FFFFFFFF.80EBB268 JIB$L_PBYTCNT 00000000
...
FFFFFFFF.80EBB2B4 JIB$L_ODAYHOURS 00000000
FFFFFFFF.80EBB2B8 JIB$L_JOBTYPE 00000000
FFFFFFFF.80EBB2BC JIB$L_FLAGS 00000000
FFFFFFFF.80EBB2C0 JIB$L_ORG_BYTLM 00020000
FFFFFFFF.80EBB2C4 JIB$L_ORG_PBYTLM 00000000
FFFFFFFF.80EBB2C8 JIB$L_JTQUOTA 00000000
JIB$C_LENGTH
SDA> EVALUATE 00020000
Hex = 00000000.00020000 Decimal = 131072 CPU$M_IO_START_AFF
SDA> EVALUATE 0001BB00
Hex = 00000000.0001BB00 Decimal = 113408 CSP+1BB00
SDA> EVALUATE 0001B880
Hex = 00000000.0001B880 Decimal = 112768 CSP+1B880
In this case, the original BYTLM value is 131071, BYTLM is 113405, and BYTCNT is 112768. This indicates that there are 640 bytes outstanding in "short term" allocations and 17664 bytes in "long term" allocations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2009 09:11 PM
тАО06-22-2009 09:11 PM
Re: F$GETSYI("","BYTLM) is not BYTLM in AUTHORIZE
The articel you wrote was very usefull, thnx!
I will keep your remark on the Wizard in mind, and will start copying relevant information here, in stead of referencing it by http link.
Thnx, Bob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2009 05:11 PM
тАО07-06-2009 05:11 PM
Re: F$GETSYI("","BYTLM) is not BYTLM in AUTHORIZE
The entire Wizard archive is also available for direct downloaded from the existing site:
ftp://ftp.hp.com/pub/openvms/WIZARD.ZIP
In general, I'd not assume postings anywhere around to be maintained; if you need it, download yourself a local copy.