函数的作用是:检查文件或目录是否存在。
The file_exists() function checks whether or not a file or directory exists.
还可以检查远程主机上的文件或目录是否存在。
You can also test whether the file or directory on the remote host is present.
在这个示例中,您可以在源代理SOURCEAGENT上定义新的监控器VarSubResourceMonitor,检查目录c: \ monitored中是否存在扩展名为. txt的文件或那些文件是否被更新。
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.
应用推荐