[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

6131.0. "Syntax for Scope Of Interest?" by STKHLM::BERGGREN (Nils Berggren, DC Sweden. 876-8287) Mon Oct 10 1994 11:24

    Hi,
    
    I've got a question about specifying scope of interest:
    
    I have recording on a script with 15 minutes interval.
    
    If I want to look at the recorded data, for instance, at 18:00 6-oct I
    type:
    
    show ... , for start (6-oct-1994:18:00)
    
    I get output from two recording instances:
    
    Script SE_NS:.telia.c.nm-scripts memory HNT
    AT  6-OCT-1994 17:47:47 Status
    
                              Memory In Use = 142513 Pages
    
    Script SE_NS:.telia.c.nm-scripts memory HNT
    AT  6-OCT-1994 18:02:47 Status
    
                              Memory In Use = 144325 Pages
    
    If I want to see data for every hour I type: 
    
     show ... , for start (6-oct-1994:18:00)every 1:0:0 until
    6-oct-1994:23:00
    
    I get output with the following timestamps:
    
    6-OCT-1994 17:47:47
    6-OCT-1994 18:02:47
    6-OCT-1994 18:47:47
    6-OCT-1994 19:02:47
    6-OCT-1994 19:47:47 
    6-OCT-1994 20:02:47
    6-OCT-1994 20:47:47
    6-OCT-1994 21:02:47
    6-OCT-1994 21:47:47
    6-OCT-1994 22:02:47
    6-OCT-1994 22:47:47
    6-OCT-1994 23:02:47
    
    To me this doesn't make sence:  why do I get two outputs every hour?
    Why do I get the output dated 17:47:47 and 23:02:47 when these are not
    within the scope of interest?
    
    I tried specifying the exact start-time, i.e. 18:02:47 together with
    duration = 0:0:0 with no luck.  Whatever I do, I get at lease two
    outputs for every hour. 
    
    Could anyone help we with the correct syntax?
    
    		Thanks,
    		/Nils
T.RTitleUserPersonal
Name
DateLines
6131.1MCC time is a powerful tool...BIKINI::KRAUSECSC Network Management/HubsWed Oct 12 1994 09:2827
>    To me this doesn't make sence:  why do I get two outputs every hour?
>    Why do I get the output dated 17:47:47 and 23:02:47 when these are not
>    within the scope of interest?

Because you always get the record BEFORE and AFTER the requested time! 
Otherwise if you don't hit the exact time of the record you'd get 
nothing.

>    I tried specifying the exact start-time, i.e. 18:02:47 together with
>    duration = 0:0:0 with no luck.  Whatever I do, I get at lease two
>    outputs for every hour. 

If you specify FOR START (...) DURATION ... you'll get all records 
within the specified time window *plus* the record before and the record 
after it.

If you want values at specific times you have to use the Performance 
Analyzer FM, i.e. STATISTICS. PA FM will calculate/interpolate the 
values based on the history records, which is what you probably want.
Syntax is something like:

MCC> SHOW ... ALL STATISTICS, -
     FOR START (...) EVERY 1:00:00 until ... DURATION 0:59:00

Note that duration must me a few seconds less than the interval (every).

*Robert
6131.2no statistics partition in ScriptSTKHLM::BERGGRENNils Berggren, DC Sweden. 876-8287Wed Oct 12 1994 12:078
    thanks,
    but the problem is that Script child entites doesn't have statistics
    partition...
    
    I'll have to live with getting two output for every instance requested.
    I can always send the outpu to a file and then edit it.
    
    	/Nils