DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦63b586350⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Availability_Report, seg_001864

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



-- This procedure is used to scan the error logs during the given period and
-- generate a System Availability Report.  This report displays system downtime
-- by shutdown code for the period in 2 groups, Rational specific and Customer
-- specific.  Customer specific shutdown codes are 'COPS', 'CSD', and 'Other'.
-- All other codes are Rational specific.  In addition, dowtime is grouped
-- according to Contract and Non-Contract hours.  The default contract hours
-- are Monday thru Friday from 8:00 to 18:00.  It is possible to modify the
-- contract hours by creating a file in !Machine called Contract_Hours, and
-- entering the new contract hours as a valid option string(s):
--
--  Day  => Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
--  Time => 0:00..24:00
--
-- Format:
--
--   Day[..Day] => (Time..Time)
--
-- If using the range form "Day..Day", the precedence of Days must follow
-- as defined above, e.g. Monday..Sunday.
--
-- For example, the contents of the Contract_Hours file:
--
-- Mon..Fri = (0:00..24:00)
-- Sat..Sun => (8:00..17:00)
--
-- would define contract hours to be:
--     Monday thru Friday, 24 hours a day
--     Saturday thru Sunday, 9 hours a day from 8am to 5pm
--
-- A sample output:
--
-- System  Availability Report from  2-FEB-88 to  3-MAR-88
--
-- Rational, Mt. View, CA [Gator:894757]
--
-- Total Contract Hours     : 397:59:56
-- Total Non Contract Hours : 322:00:04
--                            =========
-- Total Hours              : 720:00:00
--
--                 Contract     Non Con       Total
--
--        PMH :       00:00       00:00       00:00
--        PMS :       00:00       00:00       00:00
--        HWC :       54:05       00:00       54:05
--        SWC :       00:00       00:00       00:00
--      CRASH :       00:00       00:00       00:00
--       HANG :       00:00       00:00       00:00
--      MAINT :       00:00       00:00       00:00
--    RELEASE :       00:00       00:00       00:00
--        UCC :       00:00       00:00       00:00
--     ========    ========    ========    ========
--      Total :       54:05       00:00       54:05
--  Available :       99.8%      100.0%       99.9%
--
--       COPS :       13:58     1:23:02     1:37:00
--        CSD :       00:00       00:00       00:00
--      OTHER :       05:15       00:00       05:15
--     ========    ========    ========    ========
--      Total :       19:13     1:23:02     1:42:15
--  Available :       99.9%       99.6%       99.8%
--
--  Grand Total     1:13:18     1:23:02     1:42:15
--     Uptime :       99.7%       99.6%       99.6%
--

procedure Availability_Report (Starting_Date : String := "<MINUS_30_DAYS>";
                               Ending_Date : String := "<TODAY>";
                               Display_Contract_Hours : Boolean := True;
                               Log_Directory : String := "!Machine.Error_Logs");
--
-- Starting_Date : Default of <MINUS_30_DAYS> uses a date 30 days previous from
--                 when this procedure is executed.  If not the default, a valid
--                 date must be entered.
-- Ending_Date   : Default of <TODAY> uses the current date of execution.  If
--                 not the default, a valid date must be entered.
-- Display_Contract_Hours :
--                 If true, displays the contract hours used in
--                 calculating the system availability.

E3 Meta Data

    nblk1=4
    nid=0
    hdr6=8
        [0x00] rec0=16 rec1=00 rec2=01 rec3=024
        [0x01] rec0=1d rec1=00 rec2=02 rec3=008
        [0x02] rec0=14 rec1=00 rec2=03 rec3=0a0
        [0x03] rec0=0a rec1=00 rec2=04 rec3=000
    tail 0x20100ea4a7da188fdff1b 0x42a00088462060003