The script takes advantage of the hot deploy capability of WebSphere application Server Community Edition and simply copies the application binaries to a monitored directory.
该脚本利用WebSphere Application Server Community Edition的hot deploy功能,并简单地将应用二进制文件复制到被监控目录。
In this example, define the new monitor SimpleResourceMonitor on the source agent SOURCEAGENT, monitoring the directory c: \ monitored for the existence or update of the file trigger1.go.
在这个示例中,在源代理SOURCEAGENT上定义新监控器SimpleResourceMonitor,用于监控目录c: \ monitored中的文件trigger 1 . go是否存在或被更新。
In this example, you define the new monitor VarSubResourceMonitor on the source agent SOURCEAGENT, monitoring directory c: \ monitored for the existence or update of any file with the extension.txt.
在这个示例中,您可以在源代理SOURCEAGENT上定义新的监控器VarSubResourceMonitor,检查目录c: \ monitored中是否存在扩展名为. txt的文件或那些文件是否被更新。
应用推荐