[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 3


mkcondresp Command

Purpose

Creates a link between a condition and one or more responses.

Syntax

mkcondresp [-h] [-T] [-V] Condition Response [Response...]

Description

The mkcondresp command creates a link between a condition and a response, but does not start monitoring. More than one response may be linked with a condition. You can start monitoring for this condition and its linked responses later by using the startcondresp command.

Parameters

Condition
Specifies the name of the condition to be linked to the response. The condition is always specified first.

Response
Specifies the name of the response, or more than one response. If more than one response is given, all responses are linked to the condition.

Flags

-h
Writes the command's usage statement to standard output.

-T
Writes the command's trace messages to standard error. For your software-service organization's use only.

-V
Writes the command's verbose messages to standard output.

Exit Status

0
Command has run successfully.

1
Error occurred with RMC.

2
Error occurred with CLI script.

3
Incorrect flag on command line.

4
Incorrect parameter on command line.

5
Error occurred that was based on faulty command line input.

Security

This command requires root authority.

Examples

  1. To link the condition "JFS space used" to the response "Broadcast event on-shift", type:
    mkcondresp "JFS space used" "Broadcast event on-shift"                              													
    
  2. To link the condition "JFS space used" to the responses "Broadcast event on-shift" and "E-mail root anytime", type:
    mkcondresp "JFS space used" "Broadcast event on-shift" "E-mail root anytime"                                												
    	
    

Files


/usr/sbin/rsct/bin/mkcondresp Location of the mkcondresp command.

Related Information

The lscondresp, mkcondition mkresponse, rmcondresp, startcondresp, stopcondresp commands.

The rmccli General Information file.

The RSCT 2.2 Resource Monitoring and Control Guide and Reference contains more information regarding ERRM operations.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]