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

Commands Reference, Volume 4


rmresponse Command

Purpose

Removes a response.

Syntax

rmresponse [-h] [-f ] [-q] [-T] [-V] Response

Description

The rmresponse command removes the response specified by the Response parameter. The response must already exist in order to be removed. When the response must be removed even if it is linked with conditions, specify the -f flag. This forces the response and the links with the conditions to be removed. If the -f flag is not specified and links with conditions exist, the response is not removed. Conditions are not removed by this command.

Parameters

Response
The name of a defined response to be removed.

Flags

-f
Forces the response to be removed even if it is linked with conditions. The links with the conditions are removed as well as the response, but the conditions are not removed.

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

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

-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 remove the response definition named "Broadcast event on-shift", type:
     rmresponse  "Broadcast event on-shift"
    
  2. To remove the response definition named "Broadcast event on-shift" even if the response is linked with conditions, type:
    rmresponse -f "Broadcast event on-shift"
    

Files


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

Related Information

The chresponse, lscondresp, lsresponse, mkcondresp, mkresponse commands.

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 ]