이전 항목: remove_metrics다음 항목: keep_agents


remove_agents

지정된 정규식과 일치하는 에이전트를 제거합니다.

경고! remove_agent 도구는 조심해서 사용하십시오. 이 도구를 실행하면 데이터가 삭제되므로 중요한 데이터를 실수로 삭제하지 않도록 주의하십시오.

인수:

예제:

Windows

SmartStorTools.bat remove_agents –agents <Agent name> –dest <destination directory>  -src <source directory>

예:

<EM_Home>\tools>SmartStorTools.bat remove_agents –agents  ".*WebSphere.*" -dest C:\SWDump\destination -src <EM_Home>\data

명령이 성공적으로 실행되면 WebSphere 에이전트와 관련된 메트릭은 대상 디렉터리에서 모두 제거되고 원본 디렉터리에 있는 메트릭은 모두 그대로 유지됩니다.

UNIX

SmartStorTools.sh remove_agents –agents  ".*WebSphere.*" -dest <destination directory> -src <source directory>