Contains information global to the Resource Monitoring and Control (RMC) command-line interface (CLI).
This man page provides global information for the Resource Monitoring and Control command-line interface, including data types, terminology and references to other related material.
-s 'Name == "testing"'
-s 'Name ?= "test*"'
Only persistent attributes may be listed in a selection string. For information on how to specify selection strings, see "Using Expressions" in the chapter "Using the Monitoring Application" of the RSCT 2.2 Resource Monitoring and Control Guide and Reference.
For example, the command:
lsrsrc -s 'Name == "c175n05"' IBM.Foo Name NodeList SD Binary RH Int32Array
produces output similar to:
Persistent Attributes for Resource: IBM.Foo resource 1: Name = "c175n05" NodeList = {1} SD = ["testing 1 2 3",1,{0,1,2}] Binary = "0xaabbcc00 0xeeff" RH = "0x0000 0x0000 0x00000000 0x00000000 0x00000000 0x00000000" Int32Array = {1,5,-10,1000000}
For example, the command:
lsrsrc -s 'Name ?= "Page"' -t IBM.Condition Name EventExpression
produces output similar to:
Persistent Attributes for Resource: IBM.Condition Name EventExpression "Page space out rate" "VMPgSpOutRate > 500" "Page fault rate" "VMPgFaultRate > 500" "Page out rate" "VMPgOutRate > 500" "Page in rate" "VMPgInRate > 500" "Page space in rate" "VMPgSpInRate > 500"
For example, the command:
lsrsrc -xd -s 'Name == "c175n05"' IBM.Foo Name Int32 Uint32Array SD Binary
produces output similar to:
c175n05:-100:{}:["hel lo1",1,{0,1,2}]:"0xaabbcc00 0xeeff":
Note the use of the -x flag along with the -d flag.
For example, the command:
lsrsrc -xD:: -s 'Name == "c175n05"' IBM.Foo Name Int32 Uint32Array SD Binary
produces output similar to:
c175n05::-100::{}::["hel lo1",1,{0,1,2}]::"0xaabbcc00 0xeeff"::
Note the use of the -x flag along with the -D Delimiter flag.
Be careful when you specify strings as input data:
Selection strings must be input in double quotation marks, unless the selection string itself contains double quotation marks, in which case the selection string must be enclosed in single quotation marks. For information on how to specify selection strings, see "Using Expressions" in the chapter "Using the Monitoring Application" of the RSCT 2.2 Resource Monitoring and Control Guide and Reference.
Structured data (SD) types must be enclosed in square brackets: [hello,1,{2,4,6,8}]
When supplying structured data (SD) as command-line input to the RMC commands, enclose the SD in single quotation marks: SD='[hello,1,{2,4,6,8}]'
Arrays of any type must be enclosed in braces {}:
When supplying arrays of structured data or arrays containing strings enclosed in quotation marks as command-line input to the RMC commands, enclose the entire array in single quotation marks:
For more examples, refer to the Resource Data Input file.
Description = "This is a string that contains white space"
Description = ""
Description = "This string ends with a new - line character... "
SelectionString = 'Name == "c175n05"'
Name = "c175n05"
Binary data is displayed as follows:
"0x######## 0x######## 0x######## 0x###..."
The RMC commands can be run directly from the command line or called by user-written scripts. In addition, the RMC commands are used as the basis for higher-level commands, such as the Event Response Resource Manager (ERRM) command line interface.
All RMC commands support a -V and -T flag. The -V flag is used to see additional information (verbose mode) regarding the command. Verbose messages are contained in message catalogs and are translated based on the locale in which you are running and other criteria.
Run a command with the -T flag only when the your software-service organization instructs you to turn on trace. Trace messages are not translated. The -T flag shows the calls and returns to and from the underlying Perl to C Extensions.
The RSCT 2.2 Resource Monitoring and Control Guide and Reference contains more information regarding RMC operations.