当所有语句都被记录到一个文件中时,就可以使用grep对这个文件进行过滤,从而查看某个特定DB 2代理所记录的语句。
When all the statements are logged in a single file, you can filter using grep to see the statements logged by one particular DB2 agent.
其中的大部分代码都是通用php脚本,枚举了目录中的所有文件,并按顺序逐一处理。
Most of this code is general purpose PHP script that enumerates all the files in a directory and processes each in turn.
在将这个参数设置为y时,日志文件就会对每个DB 2代理进行分隔,每个文件的名称都是以这个DB 2代理的应用程序ID开头的。
When this parameter is set to Y, the log files are split for each DB2 agent, and the name of each file begins with the application ID of the DB2 agent.
应用推荐