上一主题: 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>