[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

2068.0. ""What have you recorded?"" by TAEC::HARPER (John Harper, DTN 830 3647) Fri Jan 10 1992 09:11

    Is there any way to find out what information the historian has
    recorded? I know about "show recording", but that shows what IS BEING
    recorded. What I am looking for is a way to find out what is in the
    repository, in effect a log of recordings that have been made.
    
    I hoped I'd find this somewhere in the documentation, but I've nearly
    finished it now and I still haven't found anything.
    
    	John
    
T.RTitleUserPersonal
Name
DateLines
2068.1Use Past Time ShowTOOK::SHMUYLOVICHFri Jan 10 1992 09:515
    
    	Past time Show gives you all information which has been collected
    by the Historian FM. 
    
    	Sam
2068.2Not quite what I meantTAEC::HARPERJohn Harper, DTN 830 3647Fri Jan 10 1992 12:3433
    Only (unless I've missed something, and I've certainly looked for it)
    if you already know the full entity name, and partition (and you don't
    want, on Friday afternoon, to hear my views about partitions), and have
    some idea of the time.  I guess if you have no idea of the time, you
    could say "from the neolithic era until now, every nanosecond". But the
    trouble is, the output will be verbose.
    
    What I'm thinking of is like the "directory" command (or perhaps I
    should say "ls", as a Unix user), where "show" is like "type"  I
    *could* find out all the files I have in a directory using the command
    "type *".
    
    What I have in mind is something like:
    
    	show whats_recorded node4 feric
    
    		recorded node4 feric circuit * partition *
    			start 01-jan-1992:12:0:0
    			every 1:0:0
    			until <no end time>
    			first recording at 01-jan-1992:12:0:01
    
                recorded node4 feric circuit * partition *
                            start 01-dec-1991:12:0:0
                            every 1:0:0
                            until 24-dec-1991
                            first recording at 01-dec-1991:12:0:01
          
    Obviously I'm not suggesting a specific output format.
    
    Maybe there IS a way to do this.  But I haven't found it.
    
    	John
2068.3TOOK::SHMUYLOVICHMon Jan 13 1992 10:0935
    	John,

	There is no function which gives a list of all recorded data. 
  The problem to implement such a function is that the particular recording
  request can be deleted but the corresponding data are still in the 
  historical repository. So the only way to look at the collected data is
  to scan the historical repository. This is exactly what is done when 
  you specify Past Time Show.

>    Only (unless I've missed something, and I've certainly looked for it)
>    if you already know the full entity name, and partition (and you don't
>    want, on Friday afternoon, to hear my views about partitions), and have
>    some idea of the time.  I guess if you have no idea of the time, you
>    could say "from the neolithic era until now, every nanosecond". But the
>    trouble is, the output will be verbose.

     You don't need to know the full entity name. The Past Time Show supports 
     any valid entity identifier. You can specify a wildcard as a global entity
     instance and in the case when the particular instance doesn't have a
     historical data in the specified time interval you receive a corresponding
     message. 
     Now about time format. In your case you should not specify "every".
     When you specify "from ... until ..." Past Time Show returns you all
     data recorded inside the specified time interval (plus one just before
     and one just after).
     To decrease the output you can ask not for hole partition but just for
     one attribute. PM will filter output for you.

     I described how you can receive information you are interested in.
     I added the "directory" function to our wish list but doubt that
     it will have a high priority.

	Sam S.