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

Commands Reference, Volume 4


rmcondition Command

Purpose

Removes a condition.

Syntax

rmcondition [-h] [-f] [-q] [-T] [-V] Condition

Description

The rmcondition command removes the condition specified by the Condition parameter. The condition must already exist to be removed. When the condition must be removed even if it has linked responses, use the -f flag to force the condition and the links with the responses to be removed. If the -f flag is not specified and links with responses exist, the condition is not removed. Responses are not removed by this command.

Parameters

Condition
The name of a condition to be removed.

Flags

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

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

-q
Does not return an error when Condition 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 condition definition named "JFS space used up", type:
     rmcondition "JFS space used up"
    
  2. To remove the condition definition named "JFS space used up" even if the condition is linked with responses, type:
    rmcondition -f "JFS space used up"
    

Files


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

Related Information

The chcondition, lscondition, lscondresp, mkcondition 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 ]