A CRI (Comparison Record Info) file is a text file that allows you to specify the comparisons you want to do. Look at DhpToken/ExampleTokenFile.cri for documentation on how to set up a CRI file.
Automated monitoring looks for the file main.cri located in the directory
/nfs/bbr-srv02/bfdist/MonitoringData/XxxMonTools/FastMonAuto.
In order to install new CRI files, one should commit and tag their changes to the XxxMonTools package,install the package, and then ask the navigator shifter to restart automated monitoring.
DhpToken/testOprComparison, which will convert your CRI file into a tree of comparison records, and do one time-independent loop of comparisons. The command is:
testOprComparison test.hbook ref.hbook my.cri
DhpToken/testDhpTokenFile, which will parse your file. The command is:
testDhpTokenFile my.cri
cd /nfs/bbr-srv02/bfdist/MonitoringData srtpath
<return> [accept base release associated with MonitoringData] SunOS58 addpkg XxxMonTools VYY-ZZ-WW LiveFastMon-html-install . tcsh chmod -R g+w . exit Your reference histogram HBOOK file should be located in the
/nfs/bbr-srv02/u4/Monitoring/References/Xxx/LiveFastMon
directory. The system will look for it under the name LiveFastMon.hbook,
but we recommend that you create the actual file with a name incorporating a date or
other unique identifier, and then create LiveFastMon.hbook as a symbolic
link pointing to the appropriate file. E.g.:
lrwxrwxrwx 1 walkowia bfactory 22 Feb 25 2002 LiveFastMon.hbook -> svt_refc_25feb02.hbook -rw-rw-r-- 1 walkowia bfactory 57344 Feb 25 2002 svt_refc_25feb02.hbook -rw-r--r-- 1 walkowia bfactory 57344 Oct 5 2001 svt_refc_05oct01.hbook -rw-r--r-- 1 eisner bfactory 57344 Apr 8 2001 svt_refc_08apr01.hbook
You may use a date, or the number of a run from which a file is derived, or small integer indices, as you please, but we do feel that you will benefit from a level of indirection through the link, which will let you insert and remove changes very easily, and we suggest that you not change the contents of a file under any given name once it has been used. There's plenty of disk space available to store quite a large number of archived references.
NOTE:Once you update your LiveFastMon.hbook link to point to a new file
(or have changed the contents of the file, though we discourage this),
you MUST run the merge script, which creates one big HBOOK file that DhpMonApp
and the reference histogram server looks at. This is the procedure:
References symbolic link in /nfs/bbr-srv02/bfdist/MonitoringData /nfs/bbr-srv02/u4/Monitoring/References.
cd /nfs/bbr-srv02/bfdist/MonitoringData/ srtpath
<return> [accept base release associated with MonitoringData] SunOS58LiveFastMon-hbook-install . LiveFastMon
gmake workdir.setup gmake OepTools.bin cd workdirFastMonAutoCmlog This will run the browser locally, and start it in update mode. You can change to query mode using the menus. Kill the browser by first disconnecting the server, and then exiting.