[Info-vax] RMS File statistics and Hein's RMS_STATS program, all zeroes at times

Richard Jordan usenet at cropcircledogs.com
Tue Nov 19 11:24:48 EST 2024


On 11/19/24 5:42 AM, abrsvc wrote:
> File statistics are gathered only if enabled. Please be sure that you
> have enabled them by using the set file/statistics command for each of
> hte files of interest.
> 
> Dan

They are enabled on the one single data file as noted.  If they weren't 
then RMS_STATS would return an error.  As it is it returns zero values 
in every field when run in the early morning batch jobs, but returns 
real data when RMS_STATS is run interactively or in batch (during the 
day).   It doesn't seem to make sense.

The 1:55AM batch job originally enabled stats so we would not have them 
running all day, then snapshotted the stats to get starting numbers 
(except all it ever shows are zeros).  The actual monitor batch would 
turn stats off on completion (and after trying to take a snapshot) so 
they were not enabled all day (I wasn't sure of overhead imposed).

Now they are enabled full time, so we still need a 'start' and 'end' 
snapshot for stats during only the problem batch run time.

Same thing happened this morning.  Both the 1:55AM batch log and the 
problem job log has output with zero for all values.

I define the symbol RMS_STATS on my interactive process and run it 
(copying the lines from the batch jobs so they're identical) and I get 
real values back.   If I turn stats off on the file I get the expected 
error back about RMS statistics NOT enabled on the file.  If I wait a 
while and turn them back on, I get values showing the incremental usage, 
so turning off stats doesn't seem to actually stop them from being 
retained and updated.

And I ran my abbreviated batch test again (the stripped down monitor 
batch) on the same queue it runs on, and getting valid numbers.


More information about the Info-vax mailing list