Resource Functions
Overview
The command line syntax for each execution of the CLI command, uagcmd, must specify a single CLI function, required / optional Global parameters, and required / optional function-specific parameters. You must use the required Global parameters to connect to OMS Servers and to log on to a Controller (User ID and Password).
Universal Controller supports the following CLI functions for Resources, which are listed alphabetically on this page.
Syntax, parameters, and examples for each function are provided.
List Virtual Resources
Description |
Lists all specified virtual resources. |
---|---|
Syntax |
|
Parameters |
|
Example |
uagcmd ops-resource-list -c config.cfg resource-name=Resource A |
Note
The CLI command response will contain the following information for each matching virtual resource:
- Name - Virtual Resource name
- Type - Virtual Resource type
- Limit - Virtual Resource limit
- Used - Amount of the virtual resource currently used; applicable only to renewable virtual resources
- SysId - Virtual Resource sys_id
- Used By - Task instances currently using the Virtual Resource in the format {
(task-instance-name:resource-amount),(task-instance-name:resource-amount),...
}
Update Resource Limit
Description |
Updates the resource limit for a resource. |
---|---|
Syntax |
Note For backward-compatibility, you can exclude |
Parameters |
|
Example |
uagcmd ops-update-resource-limit -c config.cfg resource-name=Resource A resource-limit=5 |