Sun Management Center 3.5 使用者指南

模組延伸指令

有七個延伸指令可用於管理模組。如需有關 am fcolumns 參數的詳細資訊,請參閱預先定義的參數和旗標

模組指令

disableModule

停用代理程式中的模組。disableModule 指令具有以下參數: am

enableModule

啟用代理程式中的模組。enableModule 指令具有以下參數: afmcolumns

getLoadedModules

取得代理程式中載入模組的清單。getLoadedModules 指令具有以下參數: afcolumns

getModule

取得特定模組的資訊。getModule 指令具有以下參數: afmcolumns

getModules

取得代理程式中的模組清單。getModules 指令具有以下參數: afcolumns

loadModule

載入代理程式中的模組。loadModule 指令具有以下參數: afmcolumns

loadModule 指令還可以具有兩個附加參數: moduleName,國際化的模組名稱;moduleDesc,該模組的文字說明。

unloadModule

卸載代理程式中的一個或多個模組。unloadModule 指令具有以下參數: afmcolumns

模組指令範例

若要決定將哪個模組載入到 agentHost 名稱為 seattle 的主機,您應在 CLI 提示符號處鍵入以下指令:


> getLoadedModules a=seattle

若要將 kernel-reader 模組載入在連接埠 1776 的主機 seattle ,您應該鍵入以下指令:


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