Sun Management Center 3.5 使用者指南

參數語法

參數被指定為 name=value 組:

file=/home/examples/example1

其中,參數 namefile,參數 value/home/examples/example1。請勿在等號 (=) 與參數名稱或參數值之間加入空白。如果值中包含空白(如空格或定位字元),則該值必須以雙引號字元(ASCII 字元 0x22)括住:

moduleDesc="Local File Scanning"

參數值可以是以逗號分隔的值的清單。請勿在逗號分隔的值之間加入空白,如以下範例所示。

severity=DIS,DWN,ERR

參數清單是以空白分隔的參數序列,如以下範例所示。

m=kernel-reader moduleDesc="My Kernel Reader"

可接受的和不可接受的參數語法範例

以下參數具有可接受的語法:

ok1="This is just a test"
ok2=hello
ok3=hello,hi,aloha
ok4="hello,hi,aloha"

以下參數具有可接受的語法:

broken1="How are you?","Who are you?"
broken2="Testing",1,2,3
broken3="Hello
broken4=Hello"

參數輸入檔案格式

參數可以儲存在檔案中並在需要時讀取。您可以依需要建立任意多個參數檔案。使用內建 i 參數指定所需參數輸入檔案的名稱。