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

Commands Reference, Volume 4


refrsrc Command

Purpose

Refreshes the resources within the specified resource class.

Syntax

refrsrc [-h] [-T] [-V] Resource_class

Description

The refrsrc command refreshes the resources within the specified resource class. Use this command to force the RMC subsystem to detect new instances of resources in cases where the configuration could be altered by operating system commands (mkfs, for example).

This command makes a request to the RMC subsystem to refresh the configuration of the resources within a resource class. The request is actually performed by the linked resource manager.

Any application that is monitoring resources in the specified resource class may receive events as the configuration is refreshed.

Parameters

Resource_class
The resource class name.

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 with RMC that was based on faulty command line input.

Examples

  1. To refresh the configuration of the resources in class IBM.FileSystem, type:
    refrsrc IBM.FileSystem
    

Files


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

Related Information

The lsrsrc, lsrsrcdef commands.

The rmccli General Information file

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


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