HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_LOCAL_LU
3.124.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
secondary_rc
Not used.
limit
The maximum amount of kernel memory, in bytes, that SNAplus2 is permitted to use at any time. If
a SNAplus2 component attempts to allocate kernel memory that would take the total amount of memory
currently allocated to SNAplus2 components above this limit, the allocation attempt will fail. A value of zero
indicates no limit.
actual
The amount of kernel memory, in bytes, currently allocated to SNAplus2 components.
max_used
The maximum amount of kernel memory, in bytes, that has been allocated to SNAplus2 components at any
time since the
max_used parameter was last reset (as described for reset_max_used above), or since the
SNAplus2 software was started.
reset_max_used
Species whether SNAplus2 resets the max_used value (after returning it on this command) to match the
amount of memory currently allocated. This ensures that a subsequent QUERY_KERNEL_MEMORY_LIMIT
verb will return the maximum amount used since this command was issued, rather than the maximum amount
used since the system was started (or since the max_used value was last reset). Possible values are:
AP_YES
SNAplus2 resets the max_used value to match the current memory allocation.
AP_NO
SNAplus2 does not reset the max_used value.
3.124.4 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.125 QUERY_LOCAL_LU
QUERY_LOCAL_LU returns information about local LUs.
This verb can be used to obtain either summary or detailed information, about a specic LU or about multiple LUs,
depending on the options used. It can also obtain information about the LU associated with the CP (the default
LU).
3.125.1 VCB Structure
typedef struct query_local_lu
{
471