Change the "n" in each name to a new timer number, and do the same at the top of each of the two script nodes.
将所有名称中的“N”改成新的计时器号,并在两个脚本节点上方做同样处理。
The countlog script counts these inbound and outbound records in two different ways. It can count the number of requests in the last n minutes, with n being a number that you can define
countlog脚本可以使用两种不同的方法来统计这些传入的记录和外发的记录。
The difference lies in using in scalar context (as -n does in the second script) or list context (as the first script does).
区别在于在标量上下文中的使用(如第二个脚本中使用-n)或在列表上下文中的使用(如第一个脚本所做的)。
Thus, the script does not count 10 lines, it counts 10 iterations of the loop generated by the -n switch (see "perldoc perlrun" and Listing 2 for an example of that loop).
运算符在一个范围内迭代。因此,该脚本并不是数10个行,而是对- n开关生成的循环迭代10次(请参阅“perldocperlrun”和清单2,以获得该循环的示例)。
For example: mkresponse -n SetupGPFS -s /path/to/script/SetupGPFS.sh SetupGPFS.
例如:mkresponse -nSetupGPFS-s /path/to/script/SetupGPFS.sh SetupGPFS。
For example: mkresponse -n SetupGPFS -s /path/to/script/SetupGPFS.sh SetupGPFS.
例如:mkresponse -nSetupGPFS-s /path/to/script/SetupGPFS.sh SetupGPFS。
应用推荐