next up previous contents
Next: Architectural Model Up: Installing RSIM Previous: Using ordinary UNIX command

Statistics processing utilities

 

The bin directory in rsim-1.0 includes shell-scripts and awk-scripts for processing statistics files output by RSIM. This directory should be added to the PATH environment variable of each RSIM user. For csh and tcsh users, the following can be typed at the shell-prompt or added to the user's .cshrc or .tcshrc files (substitute the actual fully-specified path of the RSIM distribution for /path_to_rsim/rsim-1.0/ below).

prompt% setenv PATH /path_to_rsim/rsim-1.0/bin:${PATH}

For sh, ksh, and bash users, the following command sequence is appropriate:

prompt$ export PATH=/path_to_rsim/rsim-1.0/bin:$PATH

Three of the shell scripts included in this directory must be modified according to the directory in which the RSIM distribution is download. Namely, the scripts analyze_misses, rsim_analyze, and p_rsim_analyze currently include a reference to the directory /home/rsim/rsim-1.0/bin. This reference should be changed to point to the actual fully-specified path of the RSIM distribution. For example, the file p_rsim_analyze contains the line:

nawk -f /home/rsim/rsim-1.0/bin/p_rsim_analyze.awk

This line must be changed to:

nawk -f /path_to_rsim/rsim-1.0/bin/p_rsim_analyze.awk

where /path_to_rsim/rsim-1.0/ is replaced by the actual fully-specified path of the RSIM distribution.

The usage of the statistics-processing utilities is explained in Chapter 6. These utilities do not require compilation.



Vijay Sadananda Pai
Thu Aug 7 14:18:56 CDT 1997