Seven extended commands are available for managing modules.
The following parameters can be used by the module commands. For details about the a and m parameters, refer to Predefined Parameters and Flags.
The internationalized name of the module
The text description of the module
The comma-separated list of module parameters
The default settings of the module
Description
The disableModule command disables a module or modules in an agent or agents.
Syntax
disableModule a=host[:port][,host[:port]]* m=module[+instance][,module[+instance]]*
Parameters
a and m
Description
The enableModule command enables a module or modules in an agent or agents.
Syntax
enableModule a=host[:port][,host[:port]]* m=module[+instance][,module[+instance]]*
Parameters
a and m
Description
The getLoadedModules command obtains a list of loaded modules in an agent or agents.
Syntax
getLoadedModules a=host[:port][,host[:port]]*
Parameter
a
Description
The getModule command obtains information for a particular module in an agent or agents.
Syntax
getModule a=host[:port][,host[:port]]* m=module[+instance]
Parameters
a and m
Description
The getModules command obtains a list of all available modules in an agent or agents.
Syntax
getModules a=host[:port][,host[:port]]*
Parameter
a
Description
The loadModule command loads a module in an agent or agents.
Syntax
loadModule a=host[:port][,host[:port]]* m=module[+instance] [moduleName= name] [moduleDesc=description] [moduleParams= key=value[,key=value]*] [-default]
Parameters
a, m, moduleName, moduleDesc, moduleParams, and -default.
Description
The unloadModule command unloads one or more modules in an agent or agents.
Syntax
unloadModule a=host[:port][,host[:port]]* m=module[+instance][,module[+instance]]*
Parameters
a and m
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 |