이전 항목: remove_agents다음 항목: list_agents


keep_agents

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

인수:

예제:

Windows

SmartStorTools.bat keep_agents –agents  <agent(s) name>  –dest <destination directory>  -src <source directory>

예:

<EM_Home>\tools>SmartStorTools.bat keep_agents -agents ".*Websphere.*" -dest C:\SWDump\destination\keepagents -src data

명령이 성공적으로 실행된 경우 Websphere 에이전트와 관련된 모든 메트릭은 대상 디렉터리에 있게 되고 원본 디렉터리의 내용은 그대로 유지됩니다.

UNIX

SmartStorTools.sh keep_agents -agents <Agent(s) name> -dest <destination directory> -src <source directory>

prune

SmartStor에 기록 데이터가 없는 에이전트를 찾고 연결된 메트릭 메타데이터를 모두 제거합니다. 이 도구를 사용하여 메트릭 누수 및 급증을 정리하십시오.

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

prune 도구를 사용하려면 여러 단계를 거쳐야 합니다. SmartStor 메타데이터 정리를 참조하십시오.

인수:

Windows

SmartStorTools.bat Prune  –dest <destination directory>  -src <source directory>

예:

<EM_Home>\tools>SmartStorTools.bat Prune -dest C:\SWDump\destination\backup -src data

명령이 성공적으로 실행되면 메타데이터 파일이 metrics.metadata라는 이름으로 dest 디렉터리에 백업됩니다.

UNIX

SmartStorTools.sh prune -dest <destination directory> -src <source directory>

test_regex

지정된 정규식과 일치하는 메트릭이나 에이전트를 Windows 또는 UNIX 콘솔에 출력합니다.

인수:

예제:

Windows

SmartStorTools.bat test_regex -agents <agent(s) name> –src <sourcedirectory>

예:

<EM_Home>\tools>SmartStorTools.bat test_regex -agents ".*Websphere.*" -src <EM_Home>\data

명령이 성공적으로 실행되면 WebSphere 에이전트에 대한 모든 메트릭이 출력됩니다.

UNIX

SmartStorTools.sh test_regex -agents <agent(s) name> -src <source directory>