...
prmanGlobalStatements.stats.sessionConfigSearchPathconfigPath
(default: ".:${RMANTREE}/etc"
)
prmanGlobalStatements.stats.sessionConfigFileconfigFile
(default: "stats.ini"
)
These attributes are currently not exposed in PrmanGlobalStatements, they must be set via AttributeSet or OpScript at the moment. Attribute names are subject to change.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<katana release="4.0v2" version="4.0.2.000001"> <node name="__SAVE_exportedNodes" type="Group"> <node baseType="OpScript" edited="true" name="StatsConfiguration" ns_colorb="0.050000" ns_colorg="0.260000" ns_colorr="0.090000" ns_errorGlow="0.000000" ns_fromContext="legacy" selected="true" type="OpScript" x="143.024861" y="-253.437185"> <port name="i0" source="PrmanGlobalStatements.out" type="in"/> <port name="out" type="out"/> <group_parameter name="StatsConfiguration"> <string_parameter name="CEL" value="((/root))"/> <string_parameter name="location" value="/root/world/location"/> <group_parameter name="script"> <string_parameter name="lua" value="
-- Default: 'stats.ini'
local configFile = Interface.GetOpArg('user.configFile'):getValue()

-- Default: '.'
-- Can be overriden with RMAN_STATS_CONFIG_PATH
local configSearchPath = Interface.GetOpArg('user.configSearchPath'):getValue()

-- Default: $RMANTREE/lib/plugins/listeners 
-- Can be overriden with RMAN_LISTENER_SEARCHPATH
local listenerSearchPath = Interface.GetOpArg('user.listenerSearchPath'):getValue()

Interface.SetAttr(
 'prmanGlobalStatements.stats.sessionConfigFileconfigFile', 
 StringAttribute(configFile))

Interface.SetAttr(
 'prmanGlobalStatements.stats.sessionConfigSearchPathsconfigSearchPath', 
 StringAttribute(configSearchPathconfigPath))

Interface.SetAttr(
 'prmanGlobalStatements.stats.listenerSearchPath',
 StringAttribute(listenerSearchPath))

"/> </group_parameter> <string_parameter name="executionMode" value="immediate"/> <string_parameter name="applyWhere" value="at locations matching CEL"/> <string_parameter name="applyWhen" value="during op resolve"/> <string_parameter name="modifierNameMode" value="node name"/> <string_parameter name="modifierName" value="modifier"/> <string_parameter name="resolveIds" value=""/> <number_parameter name="recursiveEnable" value="0"/> <string_parameter name="disableAt" value=""/> <string_parameter name="inputBehavior" value="by index"/> <number_parameter name="multisampleUserOpArgs" value="0"/> <group_parameter hints="{}" name="user"> <string_parameter hints="{'widget': 'fileInput'}" name="configFile" value="stats.ini"/> <string_parameter expression="'.:'+getenv("RMANTREE", ".")+'/etc'" hints="{}" name="configSearchPath"/> <string_parameter expression="getenv("RMANTREE", "./")+'/lib/plugins/listeners'" hints="{}" name="listenerSearchPath"/> </group_parameter> </group_parameter> </node> </node> </katana> |
...