Displays definition information for a resource or a resource class.
For a resource...
To display the definition:
lsrsrcdef [-p property] [-e] [-s] [ -l │ -i │ -t │ -d │ -D delimiter ] [-x] [-h] [-TV] resource_class [attr…]
To display the persistent attribute definitions:
lsrsrcdef -A p [-p property] [-e] [-s] [ -l │ -i │ -t │ -d │ -D delimiter ] [-x] [-h] [-TV] resource_class [attr…]
To display the dynamic attribute definitions:
lsrsrcdef -A d [-p property] [-e] [-s] [ -l │ -i │ -t │ -d │ -D delimiter ] [-x] [-h] [-TV] resource_class [attr…]
For a resource class...
To display the definition:
lsrsrcdef -c [-p property] [-e] [-s] [ -l │ -i │ -t │ -d │ -D delimiter ] [-x] [-h] [-TV] resource_class [attr…]
To display the persistent attribute definitions:
lsrsrcdef -c -A p [-p property] [-e] [-s] [ -l │ -i │ -t │ -d │ -D delimiter ] [-x] [-h] [-TV] resource_class [attr…]
To display the dynamic attribute definitions:
lsrsrcdef -c -A d [-p property] [-e] [-s] [ -l │ -i │ -t │ -d │ -D delimiter ] [-x] [-h] [-TV] resource_class [attr…]
To display a list of all of the resource class names:
lsrsrcdef
lsrsrcdef -p 0x0a
The user needs write permission for the resource_class specified in lsrsrcdef to run lsrsrcdef. Permissions are specified in the access control list (ACL) file on the contacted system. See RSCT: Administration Guide for information about the ACL file and how to modify it.
If this environment variable is not set, local scope is used.
This command is part of the Reliable Scalable Cluster Technology (RSCT) fileset for AIX®.
When the -h flag is specified, this command's usage statement is written to standard output. All verbose messages are written to standard output.
All trace messages are written to standard error.
lsrsrcdef
The output will
look like this: class_name
"IBM.ATMDevice"
"IBM.Association"
"IBM.AuditLog"
"IBM.AuditLogTemplate"
"IBM.Condition"
"IBM.EthernetDevice"
"IBM.EventResponse"
...
lsrsrcdef -c IBM.Host
The
output will look like this: Resource Class Definition for: IBM.Host
resource class 1:
class_name = "IBM.Host"
class_id = 8
properties = {"has_rsrc_insts","mtype_subdivided"}
display_name = ""
description = ""
locator = "NodeList"
class_pattr_count = 1
class_dattr_count = 3
class_action_count = 0
pattr_count = 6
dattr_count = 47
action_count = 0
error_count = 0
rsrc_mgr_count = 1
rsrc_mgrs 1:
mgr_name = "IBM.HostRM"
first_key = 1
last_key = 1
lsrsrcdef -c -A p -p 0 IBM.Host
The
output will look like this: Resource Class Persistent Attribute Definitions for: IBM.Host
attribute 1:
program_name = "Variety"
display_name = ""
group_name = ""
properties = {"read_only","inval_for_define"}
description = ""
attribute_id = 0
group_id = 255
data_type = "uint32"
variety_list = {{1..1}}
variety_count = 1
default_value = 0
lsrsrcdef -A p -p 0 -e IBM.Host
The output
will look like this: Resource Persistent Attribute Definitions for: IBM.Host
attribute 1:
program_name = "Name"
display_name = "Name"
group_name = "General"
properties = {"reqd_for_define","public","selectable"}
description = "Identifies the current name of the host
as returned by command."
attribute_id = 0
group_id = 0
data_type = "char_ptr"
variety_list = {{1..1}}
variety_count = 1
default_value = ""
attribute 2:
program_name = "ResourceHandle"
display_name = "Resource Handle"
group_name = "Internal"
properties = {"read_only","inval_for_define","selectable"}
description = "A globally unique handle that identifies the host.
Every resource is assigned a resource handle,
which is used internally for identifying and
locating each resource. The resource handle
is fixed in size and avoids the problems of
name space collisions across different types
of resources."
attribute_id = 1
group_id = 255
data_type = "rsrc_handle_ptr"
variety_list = {{1..1}}
variety_count = 1
default_value = "0x0000 0x0000 0x00000000 0x00000000 0x00000000 0x00000000"
attribute 3:
program_name = "Variety"
display_name = "Variety"
group_name = "Internal"
...
lsrsrcdef -A d IBM.Host
The
output will look like this: Resource Dynamic Attribute Definitions for: IBM.Host
attribute 1:
program_name = "ProcRunQueue"
display_name = ""
group_name = ""
properties = {"public"}
description = ""
attribute_id = 1
group_id = 1
data_type = "float64"
variable_type = 0
variety_list = {{1..1}}
variety_count = 1
init_value = 0
min_value = 0
max_value = 100
expression = "(ProcRunQueue - ProcRunQueue@P) >= (ProcRunQueue@P * 0.5)"
expression_description = ""
rearm_expression = "ProcRunQueue < 50"
rearm_description = ""
PTX_name = ""
attribute 2:
...