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

Commands Reference, Volume 4


rmcondresp Command

Purpose

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

Syntax

rmcondresp [-h] [-q] [-T] [-V] Condition [Response [Response ...]]

rmcondresp [-h] [-q] -r [-T] [-V] Response [Response ...]

Description

The rmcondresp command deletes the link between a condition and a response. More than one response can be specified. The response is no longer run when the condition occurs. Use the -r flag to specify that the command parameters consist only of responses. This deletes all links to conditions for these responses. If only a condition is specified, links to all responses for that condition are deleted.

Parameters

Condition
Specifies the name of the condition linked to the response. The condition is always specified first unless the -r flag is used.

Response
Specifies the name of a response, or more than one response. The links from the specified responses to the specified condition are removed.

Flags

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

-q
Does not return an error when either Condition or Response does not exist.

-r
Indicates that all command parameters are responses. There are no conditions specified. This command removes links from all conditions that are linked to the specified responses.

-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 delete the link between the condition "JFS space used" and the response "Broadcast event on-shift", type:
    rmcondresp  "JFS space used" "Broadcast event on-shift"                              													
    
  2. To delete the links between the condition "JFS space used" and all of its responses, type:
    rmcondresp  "JFS space used"
    
  3. To delete the links between the condition "JFS space used" and the responses "Broadcast event on-shift" and "E-mail root anytime", type:
    rmcondresp  "JFS space used"  "Broadcast event on-shift" "E-mail root anytime"                              												
    	
    
  4. To delete the links between the response "Broadcast event on-shift" and all of the conditions that use it, type:
    rmcondresp -r "Broadcast event on-shift"
    

Files


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

Related Information

The lscondresp, mkcondition, mkcondresp, mkresponse, 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 ]