Sun Management Center 3.5 사용자 설명서

개체 속성 명령의 예

다음 명령은 호스트 haiku에서 포트 1161의 agent-stats 모듈에 있는 totalstats 관리 대상 개체의 size 등록 정보에 대한 모든 속성을 검색합니다.


> getAttributes a=haiku:1161 m=agent-stats mgtObj=totalstats \
property=size

다음 명령은 alarmlimits.error-gt 속성을 이전 예에서 지정된 size 등록 정보에 2의 값으로 설정합니다.


> setAttributes a=haiku:1161 m=agent-stats mgtObj=totalstats \
property=size attributes=alarmlimits.error-gt values=2

다음 명령은 mgtObj에 지정된 관리 대상 개체에서 rowValues에 지정된 행을 삭제합니다.


> delRow a=haiku:1161 \
m=filemon mgtObj=filemonstats/filemonTable/filemonEntry \
rowValues="name=test,desc=this,filename=/etc/passwd"