Sun Management Center 3.5 User's Guide

Module Extended Commands

There are seven extended commands for managing modules. For details about the a, m, f, and columns parameters, refer to Predefined Parameters and Flags.

Module Commands

disableModule

Disable a module or modules in an agent or agents. The disableModule command takes the following parameters: a and m

enableModule

Enable a module or modules in an agent or agents. The enableModule command takes the following parameters: a, f, m, and columns.

getLoadedModules

Get a list of loaded modules in an agent or agents. The getLoadedModules command takes the following parameters: a, f, and columns.

getModule

Get information for a particular module. The getModule command takes the following parameters: a, f, m, and columns.

getModules

Get a list of modules in an agent. The getModules command takes the following parameters: a, f, and columns.

loadModule

Load a module in an agent or agents. The loadModule command takes the following parameters: a, f, m, and columns.

The loadModule command can take two additional parameters: moduleName, which is the internationalized module name, and moduleDesc, which is a text description of the module.

unloadModule

Unload one or more modules in an agent or agents. The unloadModule command takes the following parameters: a, f, m, and columns.

Module Command Examples

To determine which modules are loaded on a host whose agentHost name is seattle, you would type the following command at the CLI prompt:


> getLoadedModules a=seattle

To load the kernel-reader module on the host seattle at port 1776, you would type the following command:


> loadModule a=seattle:1776 m=kernel-reader