ValueDiff program checks the specified location in side the test file, it makes sure that DO the value is bigger than the defined margin or not, bigger means alarm and not bigger means normal. In case of the value is bigger than the defined margin, parameter of Err-Proc will be submitted. The compare result will be saved in log file. In case of the status is return to normal, parameter of Ret-Proc will be submitted. Inverse parameter will make the result inverse, means bigger is normal and not bigger is alarm status. For two files compare case, the program will compare the same locations of the two files.First line and word No. was defined by parameters W and L, and every loop the line number will add by one. The program will copy file1 to file2 before exit. Err-Proc and Ret-Proc must executable. For normal case, Err-Proc will be submitted only first time the status changes from normal to alarm. In case of Ret-Proc was defined as -1, means submitted Err-Proc evey time while alarm was happened.
Windows Server 2008,